nglauber
08/03/2021, 3:21 PMAlertDialog
pressing back key or clicking outside?
I saw the properties
parameter receives an DialogProperties
object which has these properties (dismissOnBackPress
and dismissOnClickOutside
) set to true by default. But looks like it’s not working 😕MBegemot
08/03/2021, 3:59 PMDialog(onDismissRequest = { selectLang.value = false }) {
Well, it works for me , onDissmisRequest I set to false the var that leads the dialog to show off ...nglauber
08/03/2021, 4:02 PMhttps://media.giphy.com/media/QJsP0cTAJhg7O47ub2/giphy.gif▾
nglauber
08/03/2021, 4:02 PM