Minor settings sheet cleanup

This commit is contained in:
arkon
2023-02-18 19:00:19 -05:00
parent d400ac2a49
commit 07fdb74fbc
8 changed files with 104 additions and 106 deletions

View File

@@ -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 {