Make all service memory structures OFW comaptible

This commit is contained in:
Willy-JL
2023-08-29 01:57:06 +02:00
parent d87d982b2b
commit d7aa3ea60f
15 changed files with 63 additions and 30 deletions

View File

@@ -14,21 +14,24 @@ typedef void (*DesktopLockMenuViewCallback)(DesktopEvent event, void* context);
struct DesktopLockMenuView {
View* view;
DesktopLockMenuViewCallback callback;
void* context;
NotificationApp* notification;
Bt* bt;
bool save_notification;
bool save_xtreme;
bool save_bt;
void* context;
};
typedef struct {
uint8_t idx;
bool _dummy_mode; // Unused, kept for compatibility
bool stealth_mode;
bool pin_is_set;
int pin_lock;
bool show_lock_menu;
DesktopLockMenuView* lock_menu;
bool stealth_mode;
} DesktopLockMenuViewModel;
void desktop_lock_menu_set_callback(