mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-26 22:40:25 +00:00
iButton: fixed notification on successful read (#2169)
This commit is contained in:
parent
c34ae66b6e
commit
5856746fc9
2 changed files with 2 additions and 1 deletions
|
@ -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 a new issue