mirror of
https://git.wetfence.xyz/RandyTheSilly/Trigalarm.git
synced 2026-08-27 22:26:25 -04:00
Force alarm reason to WAKE_MAIN_ALARM when going from alarm window to setter window
This commit is contained in:
+1
-1
@@ -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 //////////////////////
|
||||
|
||||
Reference in New Issue
Block a user