[FL-2548] Infrared: show error if no SD card/databases (#1337)

* Add Database error scene
* More general popup callback name
This commit is contained in:
Georgii Surkov
2022-06-21 17:45:55 +03:00
committed by GitHub
parent eb31fed0e2
commit 92f763e553
11 changed files with 66 additions and 12 deletions
+3 -1
View File
@@ -113,6 +113,8 @@ typedef enum {
InfraredNotificationMessageGreenOff,
InfraredNotificationMessageBlinkRead,
InfraredNotificationMessageBlinkSend,
InfraredNotificationMessageYellowOn,
InfraredNotificationMessageYellowOff,
} InfraredNotificationMessage;
bool infrared_add_remote_with_button(Infrared* infrared, const char* name, InfraredSignal* signal);
@@ -129,4 +131,4 @@ void infrared_show_loading_popup(Infrared* infrared, bool show);
void infrared_signal_sent_callback(void* context);
void infrared_signal_received_callback(void* context, InfraredWorkerSignal* received_signal);
void infrared_text_input_callback(void* context);
void infrared_popup_timeout_callback(void* context);
void infrared_popup_closed_callback(void* context);