From 6ab5488852795af0b26351137a84d5edc9737ea2 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Tue, 19 Mar 2024 10:06:16 -0400 Subject: [PATCH] Starts with complete to avoid user shock --- .../main/java/com/vitorpamplona/amethyst/model/Settings.kt | 4 ++-- .../amethyst/ui/screen/SharedPreferencesViewModel.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/vitorpamplona/amethyst/model/Settings.kt b/app/src/main/java/com/vitorpamplona/amethyst/model/Settings.kt index fc5c83fba..3d5993718 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/model/Settings.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/model/Settings.kt @@ -34,7 +34,7 @@ data class Settings( val automaticallyShowProfilePictures: ConnectivityType = ConnectivityType.ALWAYS, val dontShowPushNotificationSelector: Boolean = false, val dontAskForNotificationPermissions: Boolean = false, - val featureSet: FeatureSetType = FeatureSetType.SIMPLIFIED, + val featureSet: FeatureSetType = FeatureSetType.COMPLETE, ) enum class ThemeType(val screenCode: Int, val resourceId: Int) { @@ -92,7 +92,7 @@ fun parseFeatureSetType(screenCode: Int): FeatureSetType { FeatureSetType.COMPLETE.screenCode -> FeatureSetType.COMPLETE FeatureSetType.SIMPLIFIED.screenCode -> FeatureSetType.SIMPLIFIED else -> { - FeatureSetType.SIMPLIFIED + FeatureSetType.COMPLETE } } } diff --git a/app/src/main/java/com/vitorpamplona/amethyst/ui/screen/SharedPreferencesViewModel.kt b/app/src/main/java/com/vitorpamplona/amethyst/ui/screen/SharedPreferencesViewModel.kt index cdbbbd958..83f506cfd 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/ui/screen/SharedPreferencesViewModel.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/ui/screen/SharedPreferencesViewModel.kt @@ -53,7 +53,7 @@ class SettingsState() { var automaticallyShowProfilePictures by mutableStateOf(ConnectivityType.ALWAYS) var dontShowPushNotificationSelector by mutableStateOf(false) var dontAskForNotificationPermissions by mutableStateOf(false) - var featureSet by mutableStateOf(FeatureSetType.SIMPLIFIED) + var featureSet by mutableStateOf(FeatureSetType.COMPLETE) var isOnMobileData: State = mutableStateOf(false)