[FL-2749] New power off screen #1637
Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user