summaryrefslogtreecommitdiff
path: root/apps/main_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main_menu.c')
-rw-r--r--apps/main_menu.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c
index bc9934bf83..0ac4d94753 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -370,12 +370,7 @@ bool info_menu(void)
370#ifdef HAVE_LCD_CHARCELLS 370#ifdef HAVE_LCD_CHARCELLS
371static bool do_shutdown(void) 371static bool do_shutdown(void)
372{ 372{
373#ifndef SIMULATOR 373 sys_poweroff();
374 if (charger_inserted())
375 charging_splash();
376 else
377#endif
378 sys_poweroff();
379 return false; 374 return false;
380} 375}
381#endif 376#endif