pull/32/head
kunfei 5 years ago
parent 6b6beac16b
commit 4b9d68b3ba
  1. 8
      app/src/main/java/io/legado/app/ui/booksource/BookSourceActivity.kt

@ -154,4 +154,12 @@ class BookSourceActivity : VMBaseActivity<BookSourceViewModel>(R.layout.activity
} }
} }
} }
override fun finish() {
if (search_view.query.isNullOrEmpty()) {
super.finish()
} else {
search_view.setQuery("", true)
}
}
} }
Loading…
Cancel
Save