iButton: fixed notification on successful read (#2169)
This commit is contained in:
parent
c34ae66b6e
commit
5856746fc9
@ -52,7 +52,6 @@ bool ibutton_scene_read_on_event(void* context, SceneManagerEvent event) {
|
|||||||
|
|
||||||
if(success) {
|
if(success) {
|
||||||
ibutton_notification_message(ibutton, iButtonNotificationMessageSuccess);
|
ibutton_notification_message(ibutton, iButtonNotificationMessageSuccess);
|
||||||
ibutton_notification_message(ibutton, iButtonNotificationMessageGreenOn);
|
|
||||||
scene_manager_next_scene(scene_manager, iButtonSceneReadSuccess);
|
scene_manager_next_scene(scene_manager, iButtonSceneReadSuccess);
|
||||||
DOLPHIN_DEED(DolphinDeedIbuttonReadSuccess);
|
DOLPHIN_DEED(DolphinDeedIbuttonReadSuccess);
|
||||||
}
|
}
|
||||||
|
@ -48,6 +48,8 @@ void ibutton_scene_read_success_on_enter(void* context) {
|
|||||||
dialog_ex_set_context(dialog_ex, ibutton);
|
dialog_ex_set_context(dialog_ex, ibutton);
|
||||||
|
|
||||||
view_dispatcher_switch_to_view(ibutton->view_dispatcher, iButtonViewDialogEx);
|
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) {
|
bool ibutton_scene_read_success_on_event(void* context, SceneManagerEvent event) {
|
||||||
|
Loading…
Reference in New Issue
Block a user