MRTD Use u2f icon in load params

This commit is contained in:
Chris van Marle
2022-10-27 19:44:05 +02:00
parent fc31ddc447
commit 131578ab42

View File

@@ -31,7 +31,7 @@ bool nfc_scene_passport_auth_load(Nfc* nfc) {
const DialogsFileBrowserOptions browser_options = { const DialogsFileBrowserOptions browser_options = {
.extension = MRTD_APP_EXTENSION, .extension = MRTD_APP_EXTENSION,
.skip_assets = true, .skip_assets = true,
.icon = &I_Nfc_10px, //TODO: custom icon? .icon = &I_u2f_10px,
.hide_ext = true, .hide_ext = true,
.item_loader_callback = NULL, .item_loader_callback = NULL,
.item_loader_context = NULL, .item_loader_context = NULL,
@@ -55,7 +55,6 @@ bool nfc_scene_passport_auth_load(Nfc* nfc) {
furi_string_get_cstr(file_path), furi_string_get_cstr(file_path),
true); true);
//TODO: make sure this call is ok:
nfc_scene_passport_auth_on_enter(nfc); nfc_scene_passport_auth_on_enter(nfc);
} }