Merge pull request #133 from wryun/set-indicator-on-reactivate

Set bell indicator on reactivating countdown/tomato faces
This commit is contained in:
joeycastillo authored and GitHub committed 2022-11-15 11:05:23 -06:00
commit 2455a922c6
2 files changed
+2

No files matched your search

@@ -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);
}
}
@@ -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();
}