Closed saltsoftdrink closed 7 months ago
Could you please make a screen recording and upload it here? Thank you.
Can confirm. Here's a recording of me fighting with the birthday candle button; after I turn it on, no amount of pressing buttons ever stops the rotation of orange hue other than quitting the app altogether.
Thanks for making this, BTW! Was looking for a quick floodlight for a project, and this is coming in clutch :blush: :green_heart:
Ooh.. looking at the code, I can see you call stopCandleEffect when the Settings button is pressed, and indeed that one works! XD The issue here seems to be that once the animation starts, the scaffold remains open, and thus we don't even see that there is a "Stop" button behind it. :sweat_smile: You probably want to contract the scaffold around startCandleEffect (scope.launch { scaffoldState.bottomSheetState.collapse() }
?), or add stopCandleEffect calls for each of the buttons and the two color sliders when moved manually. (:
Thank you @bojidar-bg for clarifying the issue. The issue is now fixed by making the bottom sheet collapse once the candle effect starts.
If we turn on random colors it doesn't get turn off