1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00

apps/webauthn: re-add generic icon

This commit is contained in:
Pavol Rusnak 2019-03-09 20:20:52 +01:00
parent e02ab996a0
commit b2f1cb2b97
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
3 changed files with 3 additions and 3 deletions

View File

@ -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

Binary file not shown.

View File

@ -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,