Set better defaults for brightness and stroboscope sliders

This commit is contained in:
Ensar Sarajčić 2023-10-06 12:57:09 +02:00
parent d9a7598e59
commit b5bd119012
1 changed files with 2 additions and 2 deletions

View File

@ -469,7 +469,7 @@ class MainActivity : ComponentActivity() {
private val _sosActive: MutableStateFlow<Boolean> = MutableStateFlow(false) private val _sosActive: MutableStateFlow<Boolean> = MutableStateFlow(false)
val sosActive = _sosActive.asStateFlow() val sosActive = _sosActive.asStateFlow()
private val _brightnessBarValue: MutableStateFlow<Float> = MutableStateFlow(0f) private val _brightnessBarValue: MutableStateFlow<Float> = MutableStateFlow(1f)
val brightnessBarValue = _brightnessBarValue.asStateFlow() val brightnessBarValue = _brightnessBarValue.asStateFlow()
private val _stroboscopeActive: MutableStateFlow<Boolean> = MutableStateFlow(false) private val _stroboscopeActive: MutableStateFlow<Boolean> = MutableStateFlow(false)
@ -477,7 +477,7 @@ class MainActivity : ComponentActivity() {
val stroboscopeBarVisible = stroboscopeActive val stroboscopeBarVisible = stroboscopeActive
private val _stroboscopeBarValue: MutableStateFlow<Float> = MutableStateFlow(0f) private val _stroboscopeBarValue: MutableStateFlow<Float> = MutableStateFlow(0.5f)
val stroboscopeBarValue = _stroboscopeBarValue.asStateFlow() val stroboscopeBarValue = _stroboscopeBarValue.asStateFlow()
init { init {