Dolphin deeds done in loader, exclude games/media

This commit is contained in:
Willy-JL
2023-08-03 23:19:23 +02:00
parent 21eeb53960
commit 09533b36e0
41 changed files with 8 additions and 112 deletions

View File

@@ -32,10 +32,6 @@ static bool flipp_pomodoro_app_custom_event_callback(void* ctx, uint32_t event)
return CustomEventConsumed;
case FlippPomodoroAppCustomEventStageComplete:
if(flipp_pomodoro__get_stage(app->state) == FlippPomodoroStageFocus) {
// REGISTER a deed on work stage complete to get an acheivement
// dolphin_deed(DolphinDeedPluginGameWin);
FURI_LOG_I(TAG, "Focus stage reward added");
flipp_pomodoro_statistics__increase_focus_stages_completed(app->statistics);
};
@@ -110,9 +106,6 @@ int32_t flipp_pomodoro_app(void* p) {
FURI_LOG_I(TAG, "Initial");
FlippPomodoroApp* app = flipp_pomodoro_app_alloc();
FURI_LOG_I(TAG, "Run deed added");
// dolphin_deed(DolphinDeedPluginGameStart);
view_dispatcher_run(app->view_dispatcher);
flipp_pomodoro_app_free(app);

View File

@@ -15,7 +15,6 @@
#include <gui/view_dispatcher.h>
#include <gui/scene_manager.h>
#include <gui/elements.h>
#include <dolphin/dolphin.h>
#include <input/input.h>
// App resource imports