Sets default to the simplified view.

This commit is contained in:
Vitor Pamplona
2024-03-14 11:55:24 -04:00
parent 2c54ba1a92
commit 1abdb42552
2 changed files with 3 additions and 3 deletions
@@ -34,7 +34,7 @@ data class Settings(
val automaticallyShowProfilePictures: ConnectivityType = ConnectivityType.ALWAYS, val automaticallyShowProfilePictures: ConnectivityType = ConnectivityType.ALWAYS,
val dontShowPushNotificationSelector: Boolean = false, val dontShowPushNotificationSelector: Boolean = false,
val dontAskForNotificationPermissions: Boolean = false, val dontAskForNotificationPermissions: Boolean = false,
val featureSet: FeatureSetType = FeatureSetType.COMPLETE, val featureSet: FeatureSetType = FeatureSetType.SIMPLIFIED,
) )
enum class ThemeType(val screenCode: Int, val resourceId: Int) { enum class ThemeType(val screenCode: Int, val resourceId: Int) {
@@ -92,7 +92,7 @@ fun parseFeatureSetType(screenCode: Int): FeatureSetType {
FeatureSetType.COMPLETE.screenCode -> FeatureSetType.COMPLETE FeatureSetType.COMPLETE.screenCode -> FeatureSetType.COMPLETE
FeatureSetType.SIMPLIFIED.screenCode -> FeatureSetType.SIMPLIFIED FeatureSetType.SIMPLIFIED.screenCode -> FeatureSetType.SIMPLIFIED
else -> { else -> {
FeatureSetType.COMPLETE FeatureSetType.SIMPLIFIED
} }
} }
} }
@@ -53,7 +53,7 @@ class SettingsState() {
var automaticallyShowProfilePictures by mutableStateOf(ConnectivityType.ALWAYS) var automaticallyShowProfilePictures by mutableStateOf(ConnectivityType.ALWAYS)
var dontShowPushNotificationSelector by mutableStateOf<Boolean>(false) var dontShowPushNotificationSelector by mutableStateOf<Boolean>(false)
var dontAskForNotificationPermissions by mutableStateOf<Boolean>(false) var dontAskForNotificationPermissions by mutableStateOf<Boolean>(false)
var featureSet by mutableStateOf(FeatureSetType.COMPLETE) var featureSet by mutableStateOf(FeatureSetType.SIMPLIFIED)
var isOnMobileData: State<Boolean> = mutableStateOf(false) var isOnMobileData: State<Boolean> = mutableStateOf(false)