Connection Switch with Tiny DB. Can't connect

Good afternoon. I want to make a settings page with a switch for switching a dark theme to a light one. Unable to connect switch to database. When switching between pages, and returning back, the information is not saved and the background is returned back.
Does anyone know how to help? Tried many options.

When will a BackgroundColor = true ?

Here is the correct picture. Any ideas?

Something like this:


1 Like

You are my hero! Thank you. Working.

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