You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm a beginner at compose and kotlin. I have a page with a list of Permission flow (with a status enum). At the bottom I placed a button.
The issue is that Button accept only a Boolean but not a MutableState, so when the value change the button is still disabled
https://github.com/nicolas-f/NoiseCaptureKotlin/blob/48953662820027a50f144509dd2453d295f62f20/shared/src/commonMain/kotlin/org/noise_planet/noisecapture/shared/child/PermissionScreen.kt#L90
Do you know how to propagate change of flows to the button enabled status ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions