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

Create a new Color method in the Temperature class in SimpleWeatherService for easier reusability. #2218

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JustScott
Copy link
Contributor

It was brought up in #2204 to move the TemperatureColor function to the Temperature class in SimpleWeatherService as an easy to reuse method, however since then it has been decided to use a static temperature color in the terminal watch face instead which means the TemperatureColor function is only used in one file (weather.cpp) making it currently "pointless" to move this function. However, I'm still creating this PR in case others think we should still move this function to the Color method for easy reuse in the future.

SimpleWeatherService as the method `Color` for easier reusability.
Copy link

github-actions bot commented Jan 4, 2025

Build size and comparison to main:

Section Size Difference
text 372816B 0B
data 948B 0B
bss 22536B 0B

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.

1 participant