Aria Burrell 3 лет назад
Родитель
Сommit
85a5fed3d0
2 измененных файлов с 5 добавлено и 5 удалено
  1. 0 5
      dtmf_dolphin.c
  2. 5 0
      scenes/dtmf_dolphin_scene_start.c

+ 0 - 5
dtmf_dolphin.c

@@ -67,15 +67,10 @@ static void app_free(DTMFDolphinApp* app) {
     variable_item_list_free(app->main_menu_list);
 
     dtmf_dolphin_dialer_free(app->dtmf_dolphin_dialer);
-    // widget_free(app->dtmf_dolphin_play);
 
     view_dispatcher_free(app->view_dispatcher);
     scene_manager_free(app->scene_manager);
 
-    // button_panel_free(app->dialer_button_panel);
-    // button_panel_free(app->bluebox_button_panel);
-    // button_panel_free(app->redbox_button_panel);
-
     notification_message(app->notification, &sequence_display_backlight_enforce_auto);
 
     furi_record_close(RECORD_GUI);

+ 5 - 0
scenes/dtmf_dolphin_scene_start.c

@@ -12,6 +12,11 @@ static void dtmf_dolphin_scene_start_main_menu_enter_callback(void* context, uin
             app->view_dispatcher,
             DTMFDolphinEventStartBluebox
         );
+    } else if (index == DTMFDolphinSceneStateMisc) {
+        view_dispatcher_send_custom_event(
+            app->view_dispatcher,
+            DTMFDolphinEventStartMisc
+        );
     }
 }