mirror of
https://github.com/SimpleMobileTools/Simple-Flashlight.git
synced 2025-03-16 19:40:04 +01: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()
|
||||
sleepTimerDialogState.DialogMember {
|
||||
SleepTimerRadioDialog(alertDialogState = sleepTimerDialogState)
|
||||
val sleepTimerDialogState = rememberAlertDialogState().apply {
|
||||
DialogMember {
|
||||
SleepTimerRadioDialog(alertDialogState = this)
|
||||
}
|
||||
}
|
||||
|
||||
MainScreen(
|
||||
|
Loading…
x
Reference in New Issue
Block a user