diff options
author | James Haggerty <james@gruemail.com> | 2022-11-15 20:32:53 +1100 |
---|---|---|
committer | James Haggerty <james@gruemail.com> | 2022-11-15 20:32:53 +1100 |
commit | 4f66e29b615e9a60c3da3b52dc51958e0e2b662f (patch) | |
tree | 68313d97819db6e211ecacec578dfa878f4a792d /movement | |
parent | c149fef92da97e0ce87534e357075e39c776e15d (diff) | |
download | Sensor-Watch-4f66e29b615e9a60c3da3b52dc51958e0e2b662f.tar.gz Sensor-Watch-4f66e29b615e9a60c3da3b52dc51958e0e2b662f.tar.bz2 Sensor-Watch-4f66e29b615e9a60c3da3b52dc51958e0e2b662f.zip |
Set bell indicator on reactivating countdown/tomato faces
If you moved away and back to these faces, you'd lose the indicator. Not that the indicator here
seems very valuable, since it's not displayed on simple_clock_face, but at least
this makes things more consistent.
Diffstat (limited to 'movement')
-rw-r--r-- | movement/watch_faces/complication/countdown_face.c | 1 | ||||
-rw-r--r-- | movement/watch_faces/complication/tomato_face.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/movement/watch_faces/complication/countdown_face.c b/movement/watch_faces/complication/countdown_face.c index 194006b1..92400e66 100644 --- a/movement/watch_faces/complication/countdown_face.c +++ b/movement/watch_faces/complication/countdown_face.c @@ -132,6 +132,7 @@ void countdown_face_activate(movement_settings_t *settings, void *context) { if(state->mode == cd_running) { watch_date_time now = watch_rtc_get_date_time(); state->now_ts = watch_utility_date_time_to_unix_time(now, get_tz_offset(settings)); + watch_set_indicator(WATCH_INDICATOR_BELL); } } diff --git a/movement/watch_faces/complication/tomato_face.c b/movement/watch_faces/complication/tomato_face.c index 37798daf..ed5554f2 100644 --- a/movement/watch_faces/complication/tomato_face.c +++ b/movement/watch_faces/complication/tomato_face.c @@ -124,6 +124,7 @@ void tomato_face_activate(movement_settings_t *settings, void *context) { if (state->mode == tomato_run) { watch_date_time now = watch_rtc_get_date_time(); state->now_ts = watch_utility_date_time_to_unix_time(now, get_tz_offset(settings)); + watch_set_indicator(WATCH_INDICATOR_BELL); } watch_set_colon(); } |