Merge pull request #113 from mkende/countdown_indicator
Repeating countdown: use the looped arrows indicator instead of the bell one on the custom LCD
This commit is contained in:
@@ -338,10 +338,11 @@ bool countdown_face_loop(movement_event_t event, void *context) {
|
|||||||
// Toggle auto-repeat
|
// Toggle auto-repeat
|
||||||
button_beep();
|
button_beep();
|
||||||
state->repeat = !state->repeat;
|
state->repeat = !state->repeat;
|
||||||
|
watch_indicator_t repeat = watch_get_lcd_type() == WATCH_LCD_TYPE_CLASSIC ? WATCH_INDICATOR_BELL : WATCH_INDICATOR_LAP;
|
||||||
if(state->repeat)
|
if(state->repeat)
|
||||||
watch_set_indicator(WATCH_INDICATOR_BELL);
|
watch_set_indicator(repeat);
|
||||||
else
|
else
|
||||||
watch_clear_indicator(WATCH_INDICATOR_BELL);
|
watch_clear_indicator(repeat);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case EVENT_ALARM_LONG_UP:
|
case EVENT_ALARM_LONG_UP:
|
||||||
|
|||||||
Reference in New Issue
Block a user