So I create a very simple APP which Plays a Music when switch is ON and user can set volume I use TinyDB to store slider & Switch value. But the problem I am facing is I am unable to Open switch when i use tinyDB like I pressed it several time it’s always remain closed.
However Slider is working fine
Here are My blocks Kindly tell me the Mistake.
I am new here and trying to learn.
In the screen initialize if no value found in tinydb don’t add false block , instead try with empty text box.
Tried But this Time it Doesn’t Save the Value of Switch like when I restart App Switch Is Closed no matter if i Put it ON or OFF before Closing App
Now it’s Stuck on ON
Don’t know What’s wrong with it
Post the aia or a test aia.
Why not???
1 Like
Corrected … thank you …