mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 08:51:32 +00:00
51 lines
1.2 KiB
Text
51 lines
1.2 KiB
Text
Popup:
|
|
id: popup
|
|
title: _('Enter PIN Code')
|
|
size_hint: 0.9, 0.9
|
|
|
|
BoxLayout:
|
|
|
|
orientation: 'vertical'
|
|
size_hint: 0.8, 1
|
|
|
|
Label:
|
|
id: a
|
|
text: ' * '*len(kb.password) + ' o '*(6-len(kb.password))
|
|
size_hint: 1, None
|
|
height: '48dp'
|
|
|
|
GridLayout:
|
|
id: kb
|
|
update_text: app.update_password
|
|
password: ''
|
|
on_password: if len(self.password) == 6: popup.dismiss()
|
|
size_hint: 1, None
|
|
height: '300dp'
|
|
cols: 3
|
|
KButton:
|
|
text: '1'
|
|
KButton:
|
|
text: '2'
|
|
KButton:
|
|
text: '3'
|
|
KButton:
|
|
text: '4'
|
|
KButton:
|
|
text: '5'
|
|
KButton:
|
|
text: '6'
|
|
KButton:
|
|
text: '7'
|
|
KButton:
|
|
text: '8'
|
|
KButton:
|
|
text: '9'
|
|
KButton:
|
|
text: 'Clear'
|
|
KButton:
|
|
text: '0'
|
|
KButton:
|
|
text: '<'
|
|
|
|
Widget:
|
|
size_hint: 1, 1
|