Skip to content

Commit

Permalink
Merge pull request #583 from kdmukai/psbt_change_details_screen_spacing
Browse files Browse the repository at this point in the history
[UI tweak] Minor adjustment to `PSBTChangeDetailsScreen`
  • Loading branch information
newtonick authored Aug 16, 2024
2 parents e50f234 + c6c385d commit ec68481
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/seedsigner/gui/screens/psbt_screens.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,15 +656,12 @@ def __post_init__(self):
))

self.components.append(FormattedAddress(
screen_y=self.components[-1].screen_y + self.components[-1].height + GUIConstants.COMPONENT_PADDING,
screen_y=self.components[-1].screen_y + self.components[-1].height,
address=self.address,
max_lines=1,
))

screen_y = self.components[-1].screen_y + self.components[-1].height + 2*GUIConstants.COMPONENT_PADDING
if self.is_multisig and not self.is_change_addr_verified:
# Adjust the vertical spacing
screen_y -= GUIConstants.COMPONENT_PADDING
self.components.append(IconTextLine(
icon_name=SeedSignerIconConstants.FINGERPRINT,
icon_color=GUIConstants.INFO_COLOR,
Expand Down

0 comments on commit ec68481

Please sign in to comment.