refactor: scope function

This commit is contained in:
FunkyMuse 2023-10-12 16:19:06 +02:00
parent f2903e9780
commit adcbb73f7b

View file

@ -58,9 +58,7 @@ fun OpenDeviceSettingsAlertDialog(
)
},
dismissButton = {
TextButton(onClick = {
alertDialogState.hide()
}) {
TextButton(onClick = alertDialogState::hide) {
Text(text = stringResource(id = R.string.close))
}
},