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
ClockFace: set Bangle.CLOCK=1 before loading widgets #1864
Conversation
😄 I just opened a similar PR (#1867), didn't notice this. I thought CLOCK = 1 was set in the setUI method - Am I doing it wrong? edit: Found this discussion in the forum.
|
Yes,
|
Ok, thanks. This definitely doesn't feel ideal and I'd prefer folks just used setUI of possible, but I guess this is in a library so it's not too bad. I'll add a comment to the lib explaining this though... |
Well, maybe we could get rid of this line ( But that would mean hunting down all code that now relies on Layout calling |
Out of curiosity (I'm still learning the Layout module) : why the module needs to remove the handlers?
Instead of removing it we can add a new param (with a "as is now" default):
|
If you define So I guess simply removing that line won't really do, maybe make it conditional on there being any |
I've just had to refactor Layout a bit to fix the |
No description provided.