mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-09 19:55:11 +01:00
Fixed unchecking read filter
This commit is contained in:
parent
3c75e58816
commit
6f9a437bb9
@ -280,7 +280,13 @@ class FilterBottomSheet @JvmOverloads constructor(context: Context, attrs: Attri
|
||||
null
|
||||
}
|
||||
unread -> {
|
||||
preferences.filterUnread().set(if (index in 0..1) index + 3 else 2)
|
||||
preferences.filterUnread().set(
|
||||
when (index) {
|
||||
in 0..1 -> index + 3
|
||||
2 -> 2
|
||||
else -> 0
|
||||
}
|
||||
)
|
||||
null
|
||||
}
|
||||
allUnread -> {
|
||||
|
Loading…
Reference in New Issue
Block a user