Skip to content

Commit 2c4d945

Browse files
authored
fix(core): fix OK-25083 (#506)
1 parent 8090fc8 commit 2c4d945

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/apps/nostr/get_public_key.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from ubinascii import hexlify
33

44
from trezor.crypto import bech32
5+
from trezor.lvglui.i18n import gettext as _, keys as i18n_keys
56
from trezor.lvglui.scrs import lv
67
from trezor.messages import NostrPublicKey
78
from trezor.ui.layouts import show_address
@@ -37,6 +38,7 @@ async def get_public_key(
3738
address=npub,
3839
address_n=path,
3940
network="Nostr",
41+
title=_(i18n_keys.TITLE__STR_PUBLIC_KEY).format("Nostr"),
4042
)
4143

4244
return NostrPublicKey(publickey=pubkey, npub=npub)

0 commit comments

Comments
 (0)