diff --git a/dtmf_dolphin.c b/dtmf_dolphin.c index 9643566..94d78bc 100644 --- a/dtmf_dolphin.c +++ b/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); diff --git a/scenes/dtmf_dolphin_scene_start.c b/scenes/dtmf_dolphin_scene_start.c index d789c36..7421b6b 100644 --- a/scenes/dtmf_dolphin_scene_start.c +++ b/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 + ); } }