Replies: 2 comments 3 replies
-
I'll try to take a look tomorrow. Do you se any error messages in the Web IDE when the clock face freezes? |
Beta Was this translation helpful? Give feedback.
2 replies
-
@thyttan Thanks for taking a look. I think I got it working! I had been using the emulator but hadn't connected the IDE to the watch – I had jumped right to loading from my Github-clone app loader. I had put the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on adding some options to a clock app (my app loader). One is to have it follow the system theme, so I'm adding a setting to keep the current behavior of always using the dark theme. I changed the fixed colours to use
g.theme.bg
/g.theme.fg
and addedwhich seems to work fine.
The theme seems to reset to the system theme when loading a new app, but when opening the launcher by pressing the button (or Quick Launch) the launcher keeps the dark theme. I think this is due to Fast Loading?
Searching the BangleApps repo I tried to find what other apps are doing. I tried adding
g.reset();
but it didn't seem to do anything.
Other apps seem to save the original theme and then set back to that. I tried adding
const origTheme = g.theme;
and
if (settings.darkTheme) g.setTheme(origTheme);
but this makes the clock app freeze when I try to open the launcher.
Thanks for any help!
Beta Was this translation helpful? Give feedback.
All reactions