Tinydb visible button


i have a problem with tinydb when i close the app it does not remember the button was visible

Are you setting the “ami_fav” button to be visible with the getTag-ami_fav in your screen initialise ?
You do understand that the value you are saving to tinydb is just “true” (assuming you have not pressed the ami_fav button), so you will need to specify which button is to be made visible on start up.

like this ?

The way you had it was OK, just wanted make sure you knew that if the ami_fav button was visible, the value saved to tinydb was “true”, and not related to the ami_fav button

that is what i want but when i restart the app the button is set to false

Like this?


1 Like

yes almost thank you

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.