How to save the changes made to my app by the user?

hi , I just want to ask that in a browser app when user switches to the dark theme and closes the application .When he again open the application again gets the same dark theme not the main theme which I have set . How can we set it up.

You can store the them in Tinydb after the theme selection. When the app opens again just check the value in Tinydb and set your theme according to it.

1 Like

thanx for your support.

1 Like

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