summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-04-24 01:41:54 +0200
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:54 +0200
commitcfa3d73f2f6d4fb76803dfc078297da956054fa2 (patch)
treef3446ababd60a54d7fdfaeaa6ee6d4a14b9f8c0f /src
parentandroid: Prevent situation where binding is called on a null view (diff)
downloadyuzu-cfa3d73f2f6d4fb76803dfc078297da956054fa2.tar
yuzu-cfa3d73f2f6d4fb76803dfc078297da956054fa2.tar.gz
yuzu-cfa3d73f2f6d4fb76803dfc078297da956054fa2.tar.bz2
yuzu-cfa3d73f2f6d4fb76803dfc078297da956054fa2.tar.lz
yuzu-cfa3d73f2f6d4fb76803dfc078297da956054fa2.tar.xz
yuzu-cfa3d73f2f6d4fb76803dfc078297da956054fa2.tar.zst
yuzu-cfa3d73f2f6d4fb76803dfc078297da956054fa2.zip
Diffstat (limited to 'src')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentPresenter.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentPresenter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentPresenter.kt
index 1aae96bc3..c2eb63dac 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentPresenter.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentPresenter.kt
@@ -331,7 +331,7 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
}
override val key: String? = null
override val section: String? = null
- override val isRuntimeEditable: Boolean = true
+ override val isRuntimeEditable: Boolean = false
override val valueAsString: String
get() = preferences.getInt(Settings.PREF_THEME, 0).toString()
}
@@ -367,7 +367,7 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
}
override val key: String? = null
override val section: String? = null
- override val isRuntimeEditable: Boolean = true
+ override val isRuntimeEditable: Boolean = false
override val valueAsString: String
get() = preferences.getInt(Settings.PREF_THEME_MODE, -1).toString()
}
@@ -391,7 +391,7 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
}
override val key: String? = null
override val section: String? = null
- override val isRuntimeEditable: Boolean = true
+ override val isRuntimeEditable: Boolean = false
override val valueAsString: String
get() = preferences.getBoolean(Settings.PREF_BLACK_BACKGROUNDS, false).toString()
}