manager: disabled auto update by default

This commit is contained in:
rifsxd
2025-05-22 00:09:40 +06:00
parent 84b5915eea
commit e938a499f6
2 changed files with 2 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ fun HomeScreen(navigator: DestinationsNavigator) {
}
val checkUpdate =
LocalContext.current.getSharedPreferences("settings", Context.MODE_PRIVATE)
.getBoolean("check_update", true)
.getBoolean("check_update", false)
if (checkUpdate) {
UpdateCard()
}

View File

@@ -274,7 +274,7 @@ fun SettingScreen(navigator: DestinationsNavigator) {
var checkUpdate by rememberSaveable {
mutableStateOf(
prefs.getBoolean("check_update", true)
prefs.getBoolean("check_update", false)
)
}
SwitchItem(