mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-16 04:24:45 -07:00
Removed second switching to popup view in order to achieve control in support callbacks
In general now we show generic scene and after that in on_enter callback we can redefine it for particular protocol
This commit is contained in:
@@ -159,7 +159,6 @@ static void nfc_protocol_support_scene_read_on_enter(NfcApp* instance) {
|
|||||||
|
|
||||||
// Start poller with the appropriate callback
|
// Start poller with the appropriate callback
|
||||||
nfc_protocol_support[protocol]->scene_read.on_enter(instance);
|
nfc_protocol_support[protocol]->scene_read.on_enter(instance);
|
||||||
view_dispatcher_switch_to_view(instance->view_dispatcher, NfcViewPopup);
|
|
||||||
|
|
||||||
nfc_blink_detect_start(instance);
|
nfc_blink_detect_start(instance);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user