Fix tutorial not showing for recovery main alarm
This commit is contained in:
+1
-1
@@ -760,7 +760,7 @@ static void alarm_select_hold_handler(void *recognizer, void *ctx) {
|
|||||||
} else {
|
} else {
|
||||||
// otherwise, set awareness alarm and exit
|
// otherwise, set awareness alarm and exit
|
||||||
if (schedule_alarm(WAKE_AWARENESS_ALARM)) {
|
if (schedule_alarm(WAKE_AWARENESS_ALARM)) {
|
||||||
if (settings.TutorialEnabled && s_alarm_reason == WAKE_MAIN_ALARM) {
|
if (settings.TutorialEnabled && (s_alarm_reason == WAKE_MAIN_ALARM || s_alarm_reason == WAKE_RECOVERY_MAIN_ALARM)) {
|
||||||
push_status_window(STATUS_MAIN_TUTORIAL);
|
push_status_window(STATUS_MAIN_TUTORIAL);
|
||||||
} else {
|
} else {
|
||||||
window_stack_pop_all(true);
|
window_stack_pop_all(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user