Просмотр исходного кода

Affecting dolphin level at start (#71)

Alexander Kopachov 2 лет назад
Родитель
Сommit
f7e7550e4f
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      totp_app.c

+ 4 - 0
totp_app.c

@@ -7,6 +7,7 @@
 #include <flipper_format/flipper_format.h>
 #include <flipper_format/flipper_format.h>
 #include <notification/notification.h>
 #include <notification/notification.h>
 #include <notification/notification_messages.h>
 #include <notification/notification_messages.h>
+#include <dolphin/dolphin.h>
 #include "services/config/config.h"
 #include "services/config/config.h"
 #include "types/plugin_state.h"
 #include "types/plugin_state.h"
 #include "types/token_info.h"
 #include "types/token_info.h"
@@ -151,6 +152,9 @@ int32_t totp_app() {
         return 253;
         return 253;
     }
     }
 
 
+    // Affecting dolphin level
+    DOLPHIN_DEED(DolphinDeedPluginStart);
+
     // Set system callbacks
     // Set system callbacks
     ViewPort* view_port = view_port_alloc();
     ViewPort* view_port = view_port_alloc();
     view_port_draw_callback_set(view_port, render_callback, &state_mutex);
     view_port_draw_callback_set(view_port, render_callback, &state_mutex);