mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-26 23:05:05 +03:00
nfc app: fix retry scene navigation logic
This commit is contained in:
parent
962d809ad7
commit
cf41c98d66
@ -31,8 +31,10 @@ bool nfc_scene_retry_confirm_on_event(void* context, SceneManagerEvent event) {
|
|||||||
if(scene_manager_has_previous_scene(nfc->scene_manager, NfcSceneSlixUnlock)) {
|
if(scene_manager_has_previous_scene(nfc->scene_manager, NfcSceneSlixUnlock)) {
|
||||||
consumed = scene_manager_search_and_switch_to_previous_scene(
|
consumed = scene_manager_search_and_switch_to_previous_scene(
|
||||||
nfc->scene_manager, NfcSceneSlixUnlock);
|
nfc->scene_manager, NfcSceneSlixUnlock);
|
||||||
} else if(scene_manager_has_previous_scene(
|
} else if(
|
||||||
nfc->scene_manager, NfcSceneMfClassicDictAttack)) {
|
scene_manager_has_previous_scene(nfc->scene_manager, NfcSceneMfClassicDictAttack) &&
|
||||||
|
(scene_manager_has_previous_scene(nfc->scene_manager, NfcSceneReadMenu) ||
|
||||||
|
scene_manager_has_previous_scene(nfc->scene_manager, NfcSceneSavedMenu))) {
|
||||||
consumed = scene_manager_search_and_switch_to_previous_scene(
|
consumed = scene_manager_search_and_switch_to_previous_scene(
|
||||||
nfc->scene_manager, NfcSceneMfClassicDictAttack);
|
nfc->scene_manager, NfcSceneMfClassicDictAttack);
|
||||||
} else if(scene_manager_has_previous_scene(
|
} else if(scene_manager_has_previous_scene(
|
||||||
|
Loading…
Reference in New Issue
Block a user