mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 07:39:15 +01:00
Fix search toolbar show on latest updates in source
This commit is contained in:
parent
970df326e8
commit
5725fb1c58
@ -20,6 +20,10 @@ class LatestUpdatesController(bundle: Bundle) : BrowseSourceController(bundle) {
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
override fun getTitle(): String {
|
||||||
|
return presenter.source.name
|
||||||
|
}
|
||||||
|
|
||||||
override fun onViewCreated(view: View) {
|
override fun onViewCreated(view: View) {
|
||||||
super.onViewCreated(view)
|
super.onViewCreated(view)
|
||||||
binding.fab.isVisible = false
|
binding.fab.isVisible = false
|
||||||
@ -29,6 +33,8 @@ class LatestUpdatesController(bundle: Bundle) : BrowseSourceController(bundle) {
|
|||||||
return LatestUpdatesPresenter(args.getLong(SOURCE_ID_KEY))
|
return LatestUpdatesPresenter(args.getLong(SOURCE_ID_KEY))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun showFloatingBar() = false
|
||||||
|
|
||||||
override fun onPrepareOptionsMenu(menu: Menu) {
|
override fun onPrepareOptionsMenu(menu: Menu) {
|
||||||
super.onPrepareOptionsMenu(menu)
|
super.onPrepareOptionsMenu(menu)
|
||||||
menu.findItem(R.id.action_search).isVisible = false
|
menu.findItem(R.id.action_search).isVisible = false
|
||||||
|
Loading…
Reference in New Issue
Block a user