fix: the Duo's bottom screen keeps the panel you picked across games (#1803)

This commit is contained in:
MaxsTechReview authored and GitHub committed 2026-10-29 23:45:06 -04:00
1 parent 3b917c0db3
commit 2b0d633535
4 files changed
+45 -3

No files matched your search

@@ -94,6 +94,12 @@ object SessionPrefs {
prefs(context).edit().putString("dualScreenMode", mode).apply()
}
fun secondScreenPanel(context: Context): String? = prefs(context).getString("secondScreenPanel", null)
fun setSecondScreenPanel(context: Context, mode: String) {
prefs(context).edit().putString("secondScreenPanel", mode).apply()
}
fun dualScreenLauncher(context: Context): Boolean = prefs(context).getBoolean("dualScreenLauncher", true)
fun setDualScreenLauncher(context: Context, on: Boolean) {