mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
rename method
This commit is contained in:
parent
0e3c3b59c8
commit
3c1d6fab69
1 changed files with 3 additions and 3 deletions
|
@ -317,7 +317,7 @@ Builder.load_string('''
|
|||
IconButton:
|
||||
id: scan
|
||||
height: '48sp'
|
||||
on_release: root.scan_seed()
|
||||
on_release: root.scan_xpub()
|
||||
icon: 'atlas://gui/kivy/theming/light/camera'
|
||||
size_hint: 1, None
|
||||
WizardButton:
|
||||
|
@ -561,8 +561,8 @@ class RestoreXpubDialog(WizardDialog):
|
|||
def on_text(self, dt):
|
||||
self.ids.next.disabled = not bool(self._test(self.get_text()))
|
||||
|
||||
def scan_seed(self):
|
||||
def on_complete(text):
|
||||
def scan_xpub(self):
|
||||
def on_complete(d, text):
|
||||
self.ids.text_input_seed.text = text
|
||||
self.app.scan_qr(on_complete)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue