From 5856746fc9774157aa3f42608f5019efa829f76b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=82=E3=81=8F?= Date: Wed, 21 Dec 2022 18:07:14 +0900 Subject: [PATCH] iButton: fixed notification on successful read (#2169) --- applications/main/ibutton/scenes/ibutton_scene_read.c | 1 - applications/main/ibutton/scenes/ibutton_scene_read_success.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/main/ibutton/scenes/ibutton_scene_read.c b/applications/main/ibutton/scenes/ibutton_scene_read.c index 1fe75e45..b5ee08e6 100644 --- a/applications/main/ibutton/scenes/ibutton_scene_read.c +++ b/applications/main/ibutton/scenes/ibutton_scene_read.c @@ -52,7 +52,6 @@ bool ibutton_scene_read_on_event(void* context, SceneManagerEvent event) { if(success) { ibutton_notification_message(ibutton, iButtonNotificationMessageSuccess); - ibutton_notification_message(ibutton, iButtonNotificationMessageGreenOn); scene_manager_next_scene(scene_manager, iButtonSceneReadSuccess); DOLPHIN_DEED(DolphinDeedIbuttonReadSuccess); } diff --git a/applications/main/ibutton/scenes/ibutton_scene_read_success.c b/applications/main/ibutton/scenes/ibutton_scene_read_success.c index 1c2bcdd2..749e7af3 100644 --- a/applications/main/ibutton/scenes/ibutton_scene_read_success.c +++ b/applications/main/ibutton/scenes/ibutton_scene_read_success.c @@ -48,6 +48,8 @@ void ibutton_scene_read_success_on_enter(void* context) { dialog_ex_set_context(dialog_ex, ibutton); view_dispatcher_switch_to_view(ibutton->view_dispatcher, iButtonViewDialogEx); + + ibutton_notification_message(ibutton, iButtonNotificationMessageGreenOn); } bool ibutton_scene_read_success_on_event(void* context, SceneManagerEvent event) {