mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-28 15:53:49 +03:00
[FL-3127] Fix navigation on unsupported card types (#2440)
Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
parent
fed4c28925
commit
42d27d04f6
@ -46,6 +46,9 @@ bool nfc_scene_read_card_success_on_event(void* context, SceneManagerEvent event
|
||||
if(event.event == GuiButtonTypeLeft) {
|
||||
consumed = scene_manager_previous_scene(nfc->scene_manager);
|
||||
}
|
||||
} else if(event.type == SceneManagerEventTypeBack) {
|
||||
consumed =
|
||||
scene_manager_search_and_switch_to_previous_scene(nfc->scene_manager, NfcSceneStart);
|
||||
}
|
||||
return consumed;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user