Browse Source

kivy send screen: always show field separators. fix on_clear.

hard-fail-on-bad-server-string
ThomasV 5 years ago
parent
commit
58a0a9b160
  1. 3
      electrum/gui/kivy/uix/screens.py
  2. 3
      electrum/gui/kivy/uix/ui_screens/send.kv

3
electrum/gui/kivy/uix/screens.py

@ -261,7 +261,8 @@ class SendScreen(CScreen):
self.screen.message = ''
self.screen.address = ''
self.payment_request = None
self.screen.locked = False
self.screen.is_lightning = False
self.screen.is_bip70 = False
self.parsed_URI = None
def set_request(self, pr: 'PaymentRequest'):

3
electrum/gui/kivy/uix/ui_screens/send.kv

@ -95,7 +95,6 @@ SendScreen:
on_release: Clock.schedule_once(lambda dt: app.show_info(_('Copy and paste the recipient address using the Paste button, or use the camera to scan a QR code.')))
#on_release: Clock.schedule_once(lambda dt: app.popup_dialog('contacts'))
CardSeparator:
opacity: int(not root.is_locked)
color: blue_bottom.foreground_color
BoxLayout:
size_hint: 1, None
@ -114,7 +113,6 @@ SendScreen:
disabled: root.is_bip70 or (root.is_lightning and not s.amount)
on_release: Clock.schedule_once(lambda dt: app.amount_dialog(s, True))
CardSeparator:
opacity: int(not root.is_locked)
color: blue_bottom.foreground_color
BoxLayout:
id: message_selection
@ -132,7 +130,6 @@ SendScreen:
disabled: root.is_locked
on_release: Clock.schedule_once(lambda dt: app.description_dialog(s))
CardSeparator:
opacity: int(not root.is_locked)
color: blue_bottom.foreground_color
BoxLayout:
size_hint: 1, None

Loading…
Cancel
Save