Merge branch 'master' into sync-part-1

This commit is contained in:
Aria Moradi
2023-07-11 13:43:29 +03:30
105 changed files with 1320 additions and 1698 deletions

View File

@ -0,0 +1,16 @@
package tachiyomi.core.preference
enum class TriState {
DISABLED, // Disable filter
ENABLED_IS, // Enabled with "is" filter
ENABLED_NOT, // Enabled with "not" filter
;
fun next(): TriState {
return when (this) {
DISABLED -> ENABLED_IS
ENABLED_IS -> ENABLED_NOT
ENABLED_NOT -> DISABLED
}
}
}