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

WatchFaceAnalog: Use status icons class #1963

Closed
wants to merge 1 commit into from

Conversation

vkareh
Copy link
Contributor

@vkareh vkareh commented Jan 13, 2024

Instead of recreating the status icons for BLE and battery, we can reuse the StatusIcon class to automatically display them.

@vkareh
Copy link
Contributor Author

vkareh commented Jan 13, 2024

This doesn't change any functionality, it just reuses the existing StatusIcon class rather than duplicate its code in the Analog face.

Copy link

github-actions bot commented Jan 13, 2024

Build size and comparison to main:

Section Size Difference
text 369448B -336B
data 940B 0B
bss 63516B 0B

Instead of recreating the status icons for BLE and battery, we can reuse
the StatusIcon class to automatically display them.
@vkareh vkareh force-pushed the face-analog-statusicons branch from 4cda48c to 1868c88 Compare January 15, 2024 14:37
@FintasticMan
Copy link
Member

This has been discussed before, but I'm willing to discuss it further: #1336.

@vkareh
Copy link
Contributor Author

vkareh commented Jan 16, 2024

@FintasticMan ah, I see the point. I wasn't aware of that discussion, but it makes sense with regards to the display overlap. It feels like a useful widget, the status icons, but it's being used only in a single context, which is unfortunate.

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