faces/clock: indicate alarm only when necessary

The alarm state is not modified within the clock face.
Therefore, it only needs to be set when the face is activated.
This commit is contained in:
Matheus Afonso Martins Moreira 2024-02-25 14:11:07 -03:00
parent 2df6b2879a
commit 5c376d9b9a

View File

@ -237,8 +237,6 @@ bool clock_face_loop(movement_event_t event, movement_settings_t *settings, void
clock_display_clock(settings, state, current);
clock_check_battery_periodically(state, current);
clock_indicate_alarm(settings);
clock_indicate_low_available_power(state);
state->date_time.previous = current;