mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 11:17:25 +01:00
Allow switching between read/unread chapters more easily
This commit is contained in:
parent
52e846f3b6
commit
65091c05c9
@ -203,15 +203,6 @@ class MangaInfoChaptersController(private val fromSource: Boolean = false) :
|
|||||||
// Only show remove filter option if there's a filter set.
|
// Only show remove filter option if there's a filter set.
|
||||||
menuFilterEmpty.isVisible = filterSet
|
menuFilterEmpty.isVisible = filterSet
|
||||||
|
|
||||||
// Disable unread filter option if read filter is enabled.
|
|
||||||
if (presenter.onlyRead()) {
|
|
||||||
menuFilterUnread.isEnabled = false
|
|
||||||
}
|
|
||||||
// Disable read filter option if unread filter is enabled.
|
|
||||||
if (presenter.onlyUnread()) {
|
|
||||||
menuFilterRead.isEnabled = false
|
|
||||||
}
|
|
||||||
|
|
||||||
// Display mode submenu
|
// Display mode submenu
|
||||||
if (presenter.manga.displayMode == Manga.DISPLAY_NAME) {
|
if (presenter.manga.displayMode == Manga.DISPLAY_NAME) {
|
||||||
menu.findItem(R.id.display_title).isChecked = true
|
menu.findItem(R.id.display_title).isChecked = true
|
||||||
|
Loading…
Reference in New Issue
Block a user