I am tryin g to write a Theme Flipper Utility app that can be called from a gesture in the pattern launcher.
The code just detects if the dark theme is loaded and flips to light and vice versa.
The code should then just retart the default clock - but I'm not sure how to do that.
With the code below, the settings switch correctly but I just end up with a blank screen.
Its as if the app does not exit.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I am tryin g to write a Theme Flipper Utility app that can be called from a gesture in the pattern launcher.
The code just detects if the dark theme is loaded and flips to light and vice versa.
The code should then just retart the default clock - but I'm not sure how to do that.
With the code below, the settings switch correctly but I just end up with a blank screen.
Its as if the app does not exit.