2021-07-02 16:44:10 +03: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 21:56:14 +03:00
|
|
|
scene_manager_next_scene(nfc->scene_manager, NfcSceneSavedMenu);
|
2021-07-02 16:44:10 +03:00
|
|
|
} else {
|
2021-07-12 21:56:14 +03:00
|
|
|
scene_manager_search_previous_scene(nfc->scene_manager, NfcSceneStart);
|
2021-07-02 16:44:10 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-12 21:56:14 +03:00
|
|
|
const bool nfc_scene_file_select_on_event(void* context, SceneManagerEvent event) {
|
2021-07-02 16:44:10 +03:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
const void nfc_scene_file_select_on_exit(void* context) {
|
|
|
|
}
|