mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 10:58:36 -07:00
Dolphin deeds done in loader, exclude games/media
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user