mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 12:28:09 +00:00
apps/webauthn: re-add generic icon
This commit is contained in:
parent
e02ab996a0
commit
b2f1cb2b97
@ -421,7 +421,7 @@ class ConfirmContent(ui.Widget):
|
||||
namepart = name.lower().replace(" ", "_")
|
||||
icon = res.load("apps/webauthn/res/icon_%s.toif" % namepart)
|
||||
except Exception as e:
|
||||
icon = res.load("apps/webauthn/res/icon_generic.toif")
|
||||
icon = res.load("apps/webauthn/res/icon_webauthn.toif")
|
||||
if __debug__:
|
||||
log.exception(__name__, e)
|
||||
else:
|
||||
@ -429,7 +429,7 @@ class ConfirmContent(ui.Widget):
|
||||
hexlify(self.app_id[:4]).decode(),
|
||||
hexlify(self.app_id[-4:]).decode(),
|
||||
)
|
||||
icon = res.load("apps/webauthn/res/icon_generic.toif")
|
||||
icon = res.load("apps/webauthn/res/icon_webauthn.toif")
|
||||
self.app_name = name
|
||||
self.app_icon = icon
|
||||
|
||||
|
BIN
src/apps/webauthn/res/icon_webauthn.toif
Normal file
BIN
src/apps/webauthn/res/icon_webauthn.toif
Normal file
Binary file not shown.
@ -29,7 +29,7 @@ if __debug__:
|
||||
ep_cmd=0x84,
|
||||
)
|
||||
else:
|
||||
# interface used for FIDO U2F HID transport
|
||||
# interface used for FIDO/U2F and FIDO2/WebAuthn HID transport
|
||||
iface_webauthn = io.HID(
|
||||
iface_num=1,
|
||||
ep_in=0x82,
|
||||
|
Loading…
Reference in New Issue
Block a user