From eaffe0ec17dfcad2565abc49cec9ac4b9cff4e9b Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Wed, 8 Feb 2023 21:45:23 +0300 Subject: [PATCH] Fix small bugs --- applications/main/subghz/scenes/subghz_scene_delete_success.c | 1 + applications/main/subghz/views/subghz_read_raw.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/applications/main/subghz/scenes/subghz_scene_delete_success.c b/applications/main/subghz/scenes/subghz_scene_delete_success.c index 4d9f33e37..63ce2bd6d 100644 --- a/applications/main/subghz/scenes/subghz_scene_delete_success.c +++ b/applications/main/subghz/scenes/subghz_scene_delete_success.c @@ -28,6 +28,7 @@ bool subghz_scene_delete_success_on_event(void* context, SceneManagerEvent event if(event.event == SubGhzCustomEventSceneDeleteSuccess) { if(scene_manager_search_and_switch_to_previous_scene( subghz->scene_manager, SubGhzSceneReadRAW)) { + scene_manager_next_scene(subghz->scene_manager, SubGhzSceneReadRAW); } else if(scene_manager_search_and_switch_to_previous_scene( subghz->scene_manager, SubGhzSceneSaved)) { } else { diff --git a/applications/main/subghz/views/subghz_read_raw.c b/applications/main/subghz/views/subghz_read_raw.c index fab2591bf..9c787f933 100644 --- a/applications/main/subghz/views/subghz_read_raw.c +++ b/applications/main/subghz/views/subghz_read_raw.c @@ -285,11 +285,11 @@ void subghz_read_raw_draw(Canvas* canvas, SubGhzReadRAWModel* model) { switch(model->status) { case SubGhzReadRAWStatusIDLE: - canvas_draw_str(canvas, 70, 7, furi_hal_subghz_get_radio_type() ? "E" : "I"); - break; case SubGhzReadRAWStatusLoadKeyIDLE: case SubGhzReadRAWStatusTX: case SubGhzReadRAWStatusTXRepeat: + canvas_draw_str(canvas, 70, 7, furi_hal_subghz_get_radio_type() ? "E" : "I"); + break; case SubGhzReadRAWStatusLoadKeyTX: case SubGhzReadRAWStatusLoadKeyTXRepeat: case SubGhzReadRAWStatusStart: