Skip to content

Commit

Permalink
SFT-2537: changed 'transaction details' to 'transaction info' in
Browse files Browse the repository at this point in the history
founders edition
  • Loading branch information
mjg-foundation committed Aug 11, 2023
1 parent 7fd0018 commit d13c62b
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from styles.colors import HIGHLIGHT_TEXT_HEX, BLACK_HEX
from tasks import sign_psbt_task, validate_psbt_task
from utils import spinner_task, recolor
import passport


class SignPsbtCommonFlow(Flow):
Expand All @@ -25,6 +26,7 @@ def __init__(self, psbt_len):
self.psbt = None
self.psbt_len = psbt_len
self.chain = chains.current_chain()
self.header = 'Transaction Details' if passport.IS_COLOR else 'Transaction Info'

async def validate_psbt(self):
from pages import ErrorPage
Expand Down Expand Up @@ -83,7 +85,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 +111,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 +131,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 d13c62b

Please sign in to comment.