Is there a way to programmatically check if a comp...
# compose
m
Is there a way to programmatically check if a composable is being shown in a
Dialog
?
a
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