mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Fix search toolbar show on latest updates in source
This commit is contained in:
parent
970df326e8
commit
5725fb1c58
1 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,10 @@ class LatestUpdatesController(bundle: Bundle) : BrowseSourceController(bundle) {
|
|||
}
|
||||
)
|
||||
|
||||
override fun getTitle(): String {
|
||||
return presenter.source.name
|
||||
}
|
||||
|
||||
override fun onViewCreated(view: View) {
|
||||
super.onViewCreated(view)
|
||||
binding.fab.isVisible = false
|
||||
|
@ -29,6 +33,8 @@ class LatestUpdatesController(bundle: Bundle) : BrowseSourceController(bundle) {
|
|||
return LatestUpdatesPresenter(args.getLong(SOURCE_ID_KEY))
|
||||
}
|
||||
|
||||
override fun showFloatingBar() = false
|
||||
|
||||
override fun onPrepareOptionsMenu(menu: Menu) {
|
||||
super.onPrepareOptionsMenu(menu)
|
||||
menu.findItem(R.id.action_search).isVisible = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue