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