Skip to content

Commit

Permalink
Merge pull request #371 from Foundation-Devices/SFT-2357-transaction-…
Browse files Browse the repository at this point in the history
…details-text-scrolls-founders-edition

SFT-2357: transaction details text scrolls founders edition
  • Loading branch information
mjg-foundation authored Aug 29, 2023
2 parents 25047ba + 702a1ae commit bdbfccc
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def __init__(self, psbt_len):
self.psbt = None
self.psbt_len = psbt_len
self.chain = chains.current_chain()
self.header = 'Transaction Info'

async def validate_psbt(self):
from pages import ErrorPage
Expand Down Expand Up @@ -83,7 +84,7 @@ async def show_transaction_details(self):
result = await LongTextPage(
text=outputs.getvalue(),
centered=True,
card_header={'title': 'Transaction Details'}
card_header={'title': self.header}
).show()
if result:
if self.psbt.self_send:
Expand All @@ -109,7 +110,7 @@ async def show_change(self):
result = await LongTextPage(
text=msg,
centered=True,
card_header={'title': 'Transaction Details'}
card_header={'title': self.header}
).show()
if not result:
self.back()
Expand All @@ -129,7 +130,7 @@ async def show_warnings(self):
result = await LongTextPage(
text=warnings,
centered=True,
card_header={'title': 'Transaction Details'}
card_header={'title': self.header}
).show()
if not result:
self.back()
Expand Down

0 comments on commit bdbfccc

Please sign in to comment.