kivy: show receive address as Label
This commit is contained in:
@@ -15,12 +15,6 @@ ReceiveScreen:
|
|||||||
spacing: '12dp'
|
spacing: '12dp'
|
||||||
orientation: 'vertical'
|
orientation: 'vertical'
|
||||||
size_hint: 1, 1
|
size_hint: 1, 1
|
||||||
|
|
||||||
AddressSelector:
|
|
||||||
id: address
|
|
||||||
size_hint: 1, None
|
|
||||||
height: '38dp'
|
|
||||||
|
|
||||||
FloatLayout:
|
FloatLayout:
|
||||||
id: bl
|
id: bl
|
||||||
QRCodeWidget:
|
QRCodeWidget:
|
||||||
@@ -32,6 +26,11 @@ ReceiveScreen:
|
|||||||
on_touch_down:
|
on_touch_down:
|
||||||
self.shaded = not self.shaded
|
self.shaded = not self.shaded
|
||||||
self.foreground_color = (0, 0, 0, 0.5) if self.shaded else (0, 0, 0, 0)
|
self.foreground_color = (0, 0, 0, 0.5) if self.shaded else (0, 0, 0, 0)
|
||||||
|
Label:
|
||||||
|
id: address
|
||||||
|
size_hint: 1, None
|
||||||
|
height: '38dp'
|
||||||
|
opacity: 0.5 if qr.shaded else 1
|
||||||
|
|
||||||
SendReceiveBlueBottom:
|
SendReceiveBlueBottom:
|
||||||
id: blue_bottom
|
id: blue_bottom
|
||||||
|
|||||||
Reference in New Issue
Block a user