mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 04:34:43 +04:00
20 lines
680 B
C
20 lines
680 B
C
#include "../helpers/protocol_support/nfc_protocol_support.h"
|
|
#include "../nfc_app_i.h"
|
|
|
|
void nfc_scene_read_on_enter(void* context) {
|
|
NfcApp* instance = context;
|
|
nfc_show_loading_popup(instance, true);
|
|
nfc_supported_cards_load_cache(instance->nfc_supported_cards);
|
|
nfc_show_loading_popup(instance, false);
|
|
|
|
nfc_protocol_support_on_enter(NfcProtocolSupportSceneRead, context);
|
|
}
|
|
|
|
bool nfc_scene_read_on_event(void* context, SceneManagerEvent event) {
|
|
return nfc_protocol_support_on_event(NfcProtocolSupportSceneRead, context, event);
|
|
}
|
|
|
|
void nfc_scene_read_on_exit(void* context) {
|
|
nfc_protocol_support_on_exit(NfcProtocolSupportSceneRead, context);
|
|
}
|