[FL-2749] New power off screen #1637

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Nikolay Minaylov
2022-08-22 20:54:01 +03:00
committed by GitHub
parent 8992f8ac36
commit 9317ded1a9
7 changed files with 67 additions and 10 deletions

View File

@@ -8,6 +8,7 @@
#include <gui/modules/popup.h>
#include "views/power_off.h"
#include "views/power_unplug_usb.h"
#include <notification/notification_messages.h>
@@ -21,8 +22,8 @@ typedef enum {
struct Power {
ViewDispatcher* view_dispatcher;
Popup* popup;
PowerOff* power_off;
PowerUnplugUsb* power_unplug_usb;
ViewPort* battery_view_port;
Gui* gui;
@@ -42,6 +43,6 @@ struct Power {
};
typedef enum {
PowerViewPopup,
PowerViewOff,
PowerViewUnplugUsb,
} PowerView;