mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-27 15:22:29 +03:00
Merge branch 'ofw_dev' into dev
This commit is contained in:
commit
751cf23410
@ -37,20 +37,19 @@ bool nfc_scene_save_success_on_event(void* context, SceneManagerEvent event) {
|
|||||||
} else if(scene_manager_has_previous_scene(nfc->scene_manager, NfcSceneReadSuccess)) {
|
} else if(scene_manager_has_previous_scene(nfc->scene_manager, NfcSceneReadSuccess)) {
|
||||||
consumed = scene_manager_search_and_switch_to_another_scene(
|
consumed = scene_manager_search_and_switch_to_another_scene(
|
||||||
nfc->scene_manager, NfcSceneFileSelect);
|
nfc->scene_manager, NfcSceneFileSelect);
|
||||||
} else {
|
} else if(scene_manager_has_previous_scene(nfc->scene_manager, NfcSceneFileSelect)) {
|
||||||
consumed = scene_manager_search_and_switch_to_previous_scene(
|
consumed = scene_manager_search_and_switch_to_previous_scene(
|
||||||
nfc->scene_manager, NfcSceneFileSelect);
|
nfc->scene_manager, NfcSceneFileSelect);
|
||||||
if(!consumed) {
|
} else if(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, NfcSceneSavedMenu);
|
nfc->scene_manager, NfcSceneSavedMenu);
|
||||||
if(!consumed) {
|
} else {
|
||||||
consumed = scene_manager_search_and_switch_to_another_scene(
|
consumed = scene_manager_search_and_switch_to_another_scene(
|
||||||
nfc->scene_manager, NfcSceneFileSelect);
|
nfc->scene_manager, NfcSceneFileSelect);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
return consumed;
|
return consumed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user