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 = { dismissButton = {
TextButton(onClick = { TextButton(onClick = alertDialogState::hide) {
alertDialogState.hide()
}) {
Text(text = stringResource(id = R.string.close)) Text(text = stringResource(id = R.string.close))
} }
}, },