Force alarm reason to WAKE_MAIN_ALARM when going from alarm window to setter window

This commit is contained in:
2026-08-18 16:23:42 -04:00
parent a98065f09f
commit ee3936d503
+1 -1
View File
@@ -91,6 +91,7 @@ static void click_handler_disable_tutorial(void *recognizer, void *ctx) {
static void click_handler_push_setter(void *recognizer, void *ctx) {
s_highlight_pos = 0;
s_alarm_reason = WAKE_MAIN_ALARM; // going back to setter means alarm was disarmed or failed to set; do not punish user
window_stack_pop_all(true);
push_setter_window();
}
@@ -200,7 +201,6 @@ static void send_zap() {
if (result != APP_MSG_OK) {
return;
}
return;
}
////////////////////// MISC //////////////////////