fix: the performance HUD is off by default and keeps the user's own choice (#1807)

This commit is contained in:
MaxsTechReview authored and GitHub committed 2026-10-30 00:10:06 -04:00
1 parent 265335d550
commit ed661d7007
2 files changed
+40 -1

No files matched your search

@@ -247,7 +247,7 @@ object SessionPrefs {
prefs(context).edit().putInt("gameStoresParallel", count.coerceIn(1, 3)).apply()
}
fun hudEnabled(context: Context): Boolean = prefs(context).getBoolean(hudKey(context), !mangoappSession(context))
fun hudEnabled(context: Context): Boolean = prefs(context).getBoolean(hudKey(context), false)
fun setHudEnabled(context: Context, on: Boolean) {
prefs(context).edit().putBoolean(hudKey(context), on).apply()