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

@@ -236,9 +236,6 @@ static bool game_won(Minesweeper* minesweeper_state) {
message, furi_string_get_cstr(tempStr), 64, 32, AlignCenter, AlignCenter);
dialog_message_set_buttons(message, NULL, "Play again", NULL);
// Call dolphin deed when we win the game
// dolphin_deed(DolphinDeedPluginGameWin);
DialogMessageButton choice = dialog_message_show(minesweeper_state->dialogs, message);
dialog_message_free(message);
furi_string_free(tempStr);
@@ -393,9 +390,6 @@ int32_t minesweeper_app(void* p) {
Gui* gui = furi_record_open(RECORD_GUI);
gui_add_view_port(gui, view_port, GuiLayerFullscreen);
// Call dolphin deed on game start
// dolphin_deed(DolphinDeedPluginGameStart);
PluginEvent event;
for(bool processing = true; processing;) {
FuriStatus event_status = furi_message_queue_get(event_queue, &event, 100);