-
-
Notifications
You must be signed in to change notification settings - Fork 938
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
BatteryIcon: Change color with charge percentage #1964
base: main
Are you sure you want to change the base?
Conversation
Build size and comparison to main:
|
Nice idea, I like it a lot! 😊 |
bfaaffd
to
b7a6ddc
Compare
@minacode That's a brilliant suggestion! I've updated the code and added a new screenshot - looks way better, thanks! |
9eaf40e
to
8e61a5d
Compare
7083ce0
to
a850f49
Compare
ec452d0
to
20a0843
Compare
559832f
to
de3ca3a
Compare
I love this change. Thank you. |
de3ca3a
to
7e86e85
Compare
7e86e85
to
a238940
Compare
a238940
to
0178441
Compare
0178441
to
f5f160f
Compare
f5f160f
to
b534fa2
Compare
b534fa2
to
a570644
Compare
8dee72a
to
dfa3c8e
Compare
dfa3c8e
to
1353e94
Compare
7a27ce7
to
f39c176
Compare
f39c176
to
a9aa092
Compare
+ Reorder code to match the widgets order in the UI. + Use InfintimeTheme Colors instead of hardcoded hex values + Added a new InfinitimeTheme color: gray, using it to turn certain values gray when they contain no data + Implement @vkareh's [variable battery icon](InfiniTimeOrg#1964) color to the battery percentage text. + Replaced the 'You have mail.' notification message with the message '[1]+ Notify' to better fit the terminal lore.
+ Reorder code to match the widgets order in the UI. + Use InfintimeTheme Colors instead of hardcoded hex values + Added a new InfinitimeTheme color: gray, using it to turn certain values gray when they contain no data + Implement @vkareh's [variable battery icon](InfiniTimeOrg#1964) color to the battery percentage text. + Replaced the 'You have mail.' notification message with the message '[1]+ Notify' to better fit the terminal lore.
* Remove unused pointer to DisplayApp member variables (InfiniTimeOrg#2125) In the screens that use `DisplayApp *app` and pass it to a child item, or use the reference just in the constructor. Afterwards the `app` member is not used. So remove it from the private member variables. Completely remove `app` parameter from `SettingDisplay` constructor as it is unused. * MusicService: add missing includes for TickType_t and xTaskGetTickCount (InfiniTimeOrg#2130) Add `FreeRTOS.h` include for the directly used data type `TickType_t` in the header and the function `xTaskGetTickCount` from FreeRTOS's `task.h` * Improved the Terminal Watchfaces UI + Reorder code to match the widgets order in the UI. + Use InfintimeTheme Colors instead of hardcoded hex values + Added a new InfinitimeTheme color: gray, using it to turn certain values gray when they contain no data + Implement @vkareh's [variable battery icon](InfiniTimeOrg#1964) color to the battery percentage text. + Replaced the 'You have mail.' notification message with the message '[1]+ Notify' to better fit the terminal lore. --------- Co-authored-by: NeroBurner <[email protected]> Co-authored-by: JustScott <[email protected]>
a9aa092
to
0999c86
Compare
0999c86
to
0033739
Compare
Silly little change to dynamically color the battery based on the charge left.