mirror of
https://github.com/SimpleMobileTools/Simple-Flashlight.git
synced 2025-06-05 21:59:19 +02:00
Use proper default value for brightDisplayColor
This commit is contained in:
@ -71,7 +71,7 @@ class BrightDisplayActivity : ComponentActivity() {
|
|||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
private fun AlertDialogState.ColorPicker() {
|
private fun AlertDialogState.ColorPicker() {
|
||||||
val brightDisplayColor by preferences.brightDisplayColorFlow.collectAsStateWithLifecycle(Color.WHITE)
|
val brightDisplayColor by preferences.brightDisplayColorFlow.collectAsStateWithLifecycle(preferences.brightDisplayColor)
|
||||||
DialogMember {
|
DialogMember {
|
||||||
ColorPickerAlertDialog(
|
ColorPickerAlertDialog(
|
||||||
alertDialogState = this,
|
alertDialogState = this,
|
||||||
|
Reference in New Issue
Block a user