Преглед изворни кода

ci(build): fix missing deed method (#198)

Mikhail Gubenko пре 2 година
родитељ
комит
ddda80fc15
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      flipp_pomodoro_app.c

+ 3 - 1
flipp_pomodoro_app.c

@@ -38,7 +38,7 @@ static bool flipp_pomodoro_app_custom_event_callback(void *ctx, uint32_t event)
         if (flipp_pomodoro__get_stage(app->state) == FlippPomodoroStageFocus)
         if (flipp_pomodoro__get_stage(app->state) == FlippPomodoroStageFocus)
         {
         {
             // REGISTER a deed on work stage complete to get an acheivement
             // REGISTER a deed on work stage complete to get an acheivement
-            DOLPHIN_DEED(DolphinDeedPluginGameWin);
+            dolphin_deed(DolphinDeedPluginGameWin);
         };
         };
 
 
         flipp_pomodoro__toggle_stage(app->state);
         flipp_pomodoro__toggle_stage(app->state);
@@ -99,6 +99,8 @@ int32_t flipp_pomodoro_app(void *p)
     UNUSED(p);
     UNUSED(p);
     FlippPomodoroApp *app = flipp_pomodoro_app_alloc();
     FlippPomodoroApp *app = flipp_pomodoro_app_alloc();
 
 
+    dolphin_deed(DolphinDeedPluginGameStart);
+
     view_dispatcher_run(app->view_dispatcher);
     view_dispatcher_run(app->view_dispatcher);
 
 
     flipp_pomodoro_app_free(app);
     flipp_pomodoro_app_free(app);