2021-07-02 13:44:10 +00:00
|
|
|
#include "../nfc_i.h"
|
|
|
|
|
|
|
|
const void nfc_scene_file_select_on_enter(void* context) {
|
|
|
|
Nfc* nfc = (Nfc*)context;
|
|
|
|
// Process file_select return
|
|
|
|
if(nfc_file_select(&nfc->device)) {
|
2021-07-12 18:56:14 +00:00
|
|
|
scene_manager_next_scene(nfc->scene_manager, NfcSceneSavedMenu);
|
2021-07-02 13:44:10 +00:00
|
|
|
} else {
|
2021-07-12 18:56:14 +00:00
|
|
|
scene_manager_search_previous_scene(nfc->scene_manager, NfcSceneStart);
|
2021-07-02 13:44:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-12 18:56:14 +00:00
|
|
|
const bool nfc_scene_file_select_on_event(void* context, SceneManagerEvent event) {
|
2021-07-02 13:44:10 +00:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
const void nfc_scene_file_select_on_exit(void* context) {
|
|
|
|
}
|