https://kotlinlang.org logo
#compose
Title
# compose
m

Mark

11/25/2023, 6:26 AM
Is there a way to programmatically check if a composable is being shown in a
Dialog
?
a

Alexander Maryanovsky

11/26/2023, 5:32 AM
Not built-in, but if you’re opening the dialog yourself, you could provide a composition local at the dialog, and read it at the target composable.
thank you color 1