https://kotlinlang.org logo
Title
c

Colton Idle

12/03/2021, 4:45 PM
Related to compose navigation. I have a dialog destination, but can't find docs on how to close the dialog, or prevent the dialog from being closed from an outside touch. Is my google-fu just bad? Edit: I suppose to close the dialog I just call popBackStack()? My question of customizing the dialog still remains though. Cheers
i

Ian Lake

12/03/2021, 4:46 PM
If you created the dialog via Navigation Compose,
popBackStack()
is indeed how you pop it
❤️ 1
c

Colton Idle

12/03/2021, 4:48 PM
oof. dialog destination also has DialogProperties. okay. back in business. I somehow missed that the first time!
i

Ian Lake

12/03/2021, 4:49 PM
Yup, that's the hook into all of the properties you can provide to a Dialog