Skip to content

Commit

Permalink
Display main menu before exiting to video again
Browse files Browse the repository at this point in the history
This should make the progress bar visible while RF re-initializes.
  • Loading branch information
Master92 committed Oct 26, 2023
1 parent ed37580 commit dc84949
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/sleep_mode.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ void wake_up() {
if (previousState == APP_STATE_SUBMENU) {
submenu_exit();
} else if (previousState == APP_STATE_VIDEO) {
app_switch_to_menu(); // Necessary to display the progress bar
app_state_push(previousState); // Because app_switch_to_menu() pushes main menu state
app_exit_menu();
}
}
Expand Down

0 comments on commit dc84949

Please sign in to comment.