2021-07-02 16:44:10 +03:00
|
|
|
#include "../nfc_i.h"
|
|
|
|
|
2021-09-21 12:34:16 +03:00
|
|
|
void nfc_scene_file_select_on_enter(void* context) {
|
2021-07-02 16:44:10 +03:00
|
|
|
Nfc* nfc = (Nfc*)context;
|
|
|
|
// Process file_select return
|
2021-11-09 00:55:06 +03:00
|
|
|
if(nfc_file_select(nfc->dev)) {
|
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-28 17:52:00 +03:00
|
|
|
scene_manager_search_and_switch_to_previous_scene(nfc->scene_manager, NfcSceneStart);
|
2021-07-02 16:44:10 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-21 12:34:16 +03:00
|
|
|
bool nfc_scene_file_select_on_event(void* context, SceneManagerEvent event) {
|
2021-07-02 16:44:10 +03:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2021-09-21 12:34:16 +03:00
|
|
|
void nfc_scene_file_select_on_exit(void* context) {
|
2021-07-02 16:44:10 +03:00
|
|
|
}
|