Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double-tap to switch between LIGHT and DARK themes #43

Merged
merged 4 commits into from
Apr 8, 2021
Merged

Double-tap to switch between LIGHT and DARK themes #43

merged 4 commits into from
Apr 8, 2021

Conversation

ba58smith
Copy link
Collaborator

It works, but it happens on ALL screens. Any screen with a button (even the "Back" button in the upper left corner) will not look right after a theme change if you do the double-tap on that screen.

We need to either make the double-tap work ONLY on the home screen, or we need a way to update all the buttons and icons on every screen if you double-tap on it to change the theme.

I also made a few unrelated changes - fixed some typos, mostly.

It works, but it happens on ALL screens. Any screen with a button (even the "Back" button in the upper left corner) will not look right after a theme change if you do the double-tap on that screen.

We need to either make the double-tap work ONLY on the home screen, or we need a way to update all the buttons and icons on every screen if you double-tap on it to change the theme.
This makes the double-tap (which changes from LIGHT to DARK or vice versa) work properly on any screen.

There are also some general code clean-up changes, and a few bug fixes.

Still need to make the double-tap theme change be saved to disk. Now, that works only if you happen to do the double-tap on the Display Settings screen.
Also, remove some debugging code, and update some comments.
@ba58smith
Copy link
Collaborator Author

I still want to save the theme change that's brought on by a double-tap, so don't merge yet.

@ba58smith ba58smith changed the title DRAFT: Double-tap to switch between LIGHT and DARK themes Double-tap to switch between LIGHT and DARK themes Apr 7, 2021
@ba58smith
Copy link
Collaborator Author

Everything is working now, but there is one enhancement I can make if you think I should, @JohnySeven. If you're on the Wakeup Settings page, and you disable double-tap wakeup, the double-tap theme switch doesn't work until the next time the watch wakes up. I don't think this is a problem, because if you can see the screen well enough to get to the Wakeup Settings page, and disable the double-tap wakeup, you probably don't need to do the double-tap to switch the screen. You agree?

@JohnySeven
Copy link
Owner

@ba58smith I'm OK with that, good job! Will test it and merge it! Thanks! :-)

@JohnySeven JohnySeven merged commit cbde6c9 into JohnySeven:master Apr 8, 2021
@JohnySeven
Copy link
Owner

Looking nice, thanks @ba58smith!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants