mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
remove default value for onDismiss from SimpleAlertDialog (#3441)
This commit is contained in:
parent
886e9cfede
commit
e4ecf1d483
2 changed files with 2 additions and 1 deletions
|
|
@ -210,6 +210,7 @@ fun MainScreen(uIViewModel: UIViewModel = hiltViewModel(), scanModel: BTScanMode
|
|||
}
|
||||
uIViewModel.clearClientNotification(notification)
|
||||
},
|
||||
onDismiss = { uIViewModel.clearClientNotification(notification) },
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ fun SimpleAlertDialog(
|
|||
confirmText: String? = null,
|
||||
onConfirm: (() -> Unit)? = null,
|
||||
dismissText: String? = null,
|
||||
onDismiss: () -> Unit = {},
|
||||
onDismiss: () -> Unit,
|
||||
) = AlertDialog(
|
||||
onDismissRequest = onDismiss,
|
||||
dismissButton = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue