From 4f66e29b615e9a60c3da3b52dc51958e0e2b662f Mon Sep 17 00:00:00 2001
From: James Haggerty <james@gruemail.com>
Date: Tue, 15 Nov 2022 20:32:53 +1100
Subject: 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.
---
 movement/watch_faces/complication/countdown_face.c | 1 +
 movement/watch_faces/complication/tomato_face.c    | 1 +
 2 files changed, 2 insertions(+)

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();
 }
-- 
cgit v1.2.3