Skip to content

Commit

Permalink
Merge pull request #437 from Foundation-Devices/SFT-3093-display-nost…
Browse files Browse the repository at this point in the history
…r-key-with-new-address-formatting

SFT-3093: display nostr key with new address formatting
  • Loading branch information
mjg-foundation committed Dec 19, 2023
2 parents a3c2c72 + be25c6a commit bc7d2cd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ async def show_qr_code(self):
async def confirm_qr(self):
from pages import InfoPage, LongTextPage
import microns
from utils import stylize_address

text = 'Confirm the exported {} on the following page'.format(self.key_type['title'])
result = await InfoPage(text=text, left_micron=microns.Back).show()
Expand All @@ -103,7 +104,7 @@ async def confirm_qr(self):
self.back()
return

result = await LongTextPage(text="\n" + self.data,
result = await LongTextPage(text="\n" + stylize_address(self.data),
centered=True,
card_header={'title': 'Confirm Key'},
left_micron=microns.Back).show()
Expand Down

0 comments on commit bc7d2cd

Please sign in to comment.