kivy send screen: always show field separators. fix on_clear.
This commit is contained in:
@@ -261,7 +261,8 @@ class SendScreen(CScreen):
|
|||||||
self.screen.message = ''
|
self.screen.message = ''
|
||||||
self.screen.address = ''
|
self.screen.address = ''
|
||||||
self.payment_request = None
|
self.payment_request = None
|
||||||
self.screen.locked = False
|
self.screen.is_lightning = False
|
||||||
|
self.screen.is_bip70 = False
|
||||||
self.parsed_URI = None
|
self.parsed_URI = None
|
||||||
|
|
||||||
def set_request(self, pr: 'PaymentRequest'):
|
def set_request(self, pr: 'PaymentRequest'):
|
||||||
|
|||||||
@@ -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.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'))
|
#on_release: Clock.schedule_once(lambda dt: app.popup_dialog('contacts'))
|
||||||
CardSeparator:
|
CardSeparator:
|
||||||
opacity: int(not root.is_locked)
|
|
||||||
color: blue_bottom.foreground_color
|
color: blue_bottom.foreground_color
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
size_hint: 1, None
|
size_hint: 1, None
|
||||||
@@ -114,7 +113,6 @@ SendScreen:
|
|||||||
disabled: root.is_bip70 or (root.is_lightning and not s.amount)
|
disabled: root.is_bip70 or (root.is_lightning and not s.amount)
|
||||||
on_release: Clock.schedule_once(lambda dt: app.amount_dialog(s, True))
|
on_release: Clock.schedule_once(lambda dt: app.amount_dialog(s, True))
|
||||||
CardSeparator:
|
CardSeparator:
|
||||||
opacity: int(not root.is_locked)
|
|
||||||
color: blue_bottom.foreground_color
|
color: blue_bottom.foreground_color
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
id: message_selection
|
id: message_selection
|
||||||
@@ -132,7 +130,6 @@ SendScreen:
|
|||||||
disabled: root.is_locked
|
disabled: root.is_locked
|
||||||
on_release: Clock.schedule_once(lambda dt: app.description_dialog(s))
|
on_release: Clock.schedule_once(lambda dt: app.description_dialog(s))
|
||||||
CardSeparator:
|
CardSeparator:
|
||||||
opacity: int(not root.is_locked)
|
|
||||||
color: blue_bottom.foreground_color
|
color: blue_bottom.foreground_color
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
size_hint: 1, None
|
size_hint: 1, None
|
||||||
|
|||||||
Reference in New Issue
Block a user