nfc app: fix incorrect protocol detection in save scene (#3430)

This commit is contained in:
gornekich 2024-02-06 19:25:55 +00:00 committed by GitHub
parent 8c54c14742
commit 4984e9e414
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -518,8 +518,7 @@ static bool
DolphinDeedNfcAddSave :
DolphinDeedNfcSave);
const NfcProtocol protocol =
instance->protocols_detected[instance->protocols_detected_selected_idx];
const NfcProtocol protocol = nfc_device_get_protocol(instance->nfc_device);
consumed =
nfc_protocol_support[protocol]->scene_save_name.on_event(instance, event);
} else {