mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-09-11 14:43:13 +02:00
Fix manga details toolbar icon visibility
This commit is contained in:
parent
36a22c9595
commit
797174843a
@ -747,14 +747,14 @@ class MangaDetailsController :
|
||||
val editItem = menu.findItem(R.id.action_edit)
|
||||
editItem.isVisible = presenter.manga.favorite && !presenter.isLockedFromSearch
|
||||
menu.findItem(R.id.action_download).isVisible = !presenter.isLockedFromSearch &&
|
||||
presenter.manga.isLocal()
|
||||
!presenter.manga.isLocal()
|
||||
menu.findItem(R.id.action_mark_all_as_read).isVisible =
|
||||
presenter.getNextUnreadChapter() != null && !presenter.isLockedFromSearch
|
||||
menu.findItem(R.id.action_mark_all_as_unread).isVisible =
|
||||
presenter.anyRead() && !presenter.isLockedFromSearch
|
||||
menu.findItem(R.id.action_remove_downloads).isVisible =
|
||||
presenter.hasDownloads() && !presenter.isLockedFromSearch &&
|
||||
presenter.manga.isLocal()
|
||||
!presenter.manga.isLocal()
|
||||
menu.findItem(R.id.remove_non_bookmarked).isVisible =
|
||||
presenter.hasBookmark() && !presenter.isLockedFromSearch
|
||||
menu.findItem(R.id.action_migrate).isVisible = !presenter.isLockedFromSearch &&
|
||||
|
Loading…
Reference in New Issue
Block a user