mirror of
https://github.com/SimpleMobileTools/Simple-Flashlight.git
synced 2025-04-01 20:30:24 +02:00
Use apply
when building SleepTimerRadioDialog
This commit is contained in:
parent
2fd3dc5c77
commit
6296d893b0
@ -87,9 +87,10 @@ class MainActivity : ComponentActivity() {
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
val sleepTimerDialogState = rememberAlertDialogState()
|
val sleepTimerDialogState = rememberAlertDialogState().apply {
|
||||||
sleepTimerDialogState.DialogMember {
|
DialogMember {
|
||||||
SleepTimerRadioDialog(alertDialogState = sleepTimerDialogState)
|
SleepTimerRadioDialog(alertDialogState = this)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MainScreen(
|
MainScreen(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user