mirror of
https://github.com/SimpleMobileTools/Simple-Flashlight.git
synced 2025-06-05 21:59:19 +02:00
Use apply
when building SleepTimerRadioDialog
This commit is contained in:
@ -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(
|
||||||
|
Reference in New Issue
Block a user