Starts with complete to avoid user shock
This commit is contained in:
@@ -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.SIMPLIFIED,
|
val featureSet: FeatureSetType = FeatureSetType.COMPLETE,
|
||||||
)
|
)
|
||||||
|
|
||||||
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.SIMPLIFIED
|
FeatureSetType.COMPLETE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -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.SIMPLIFIED)
|
var featureSet by mutableStateOf(FeatureSetType.COMPLETE)
|
||||||
|
|
||||||
var isOnMobileData: State<Boolean> = mutableStateOf(false)
|
var isOnMobileData: State<Boolean> = mutableStateOf(false)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user