mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-07 01:28:56 +01:00
Minor settings sheet cleanup
This commit is contained in:
@@ -114,9 +114,9 @@ object Migrations {
|
||||
fun convertBooleanPrefToTriState(key: String): Int {
|
||||
val oldPrefValue = prefs.getBoolean(key, false)
|
||||
return if (oldPrefValue) {
|
||||
ExtendedNavigationView.Item.TriStateGroup.State.INCLUDE.value
|
||||
ExtendedNavigationView.Item.TriStateGroup.State.ENABLED_IS.value
|
||||
} else {
|
||||
ExtendedNavigationView.Item.TriStateGroup.State.IGNORE.value
|
||||
ExtendedNavigationView.Item.TriStateGroup.State.DISABLED.value
|
||||
}
|
||||
}
|
||||
prefs.edit {
|
||||
|
||||
Reference in New Issue
Block a user