refactor: scope function
This commit is contained in:
parent
f2903e9780
commit
adcbb73f7b
1 changed files with 1 additions and 3 deletions
|
@ -58,9 +58,7 @@ fun OpenDeviceSettingsAlertDialog(
|
|||
)
|
||||
},
|
||||
dismissButton = {
|
||||
TextButton(onClick = {
|
||||
alertDialogState.hide()
|
||||
}) {
|
||||
TextButton(onClick = alertDialogState::hide) {
|
||||
Text(text = stringResource(id = R.string.close))
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue