mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
kivy: update receive screen after adding request
This commit is contained in:
parent
65cf0ebce8
commit
27a9d02b8c
1 changed files with 1 additions and 1 deletions
|
@ -464,6 +464,7 @@ class ReceiveScreen(CScreen):
|
|||
req = self.app.wallet.make_payment_request(addr, amount, message, expiration)
|
||||
self.app.wallet.add_payment_request(req, self.app.electrum_config)
|
||||
key = addr
|
||||
self.update()
|
||||
self.app.show_request(lightning, key)
|
||||
|
||||
def get_card(self, req):
|
||||
|
@ -494,7 +495,6 @@ class ReceiveScreen(CScreen):
|
|||
return ci
|
||||
|
||||
def update(self):
|
||||
self.menu_actions = [(_('Show'), self.do_show), (_('Delete'), self.do_delete)]
|
||||
_list = self.app.wallet.get_sorted_requests(self.app.electrum_config)
|
||||
requests_container = self.screen.ids.requests_container
|
||||
requests_container.data = [self.get_card(item) for item in _list]
|
||||
|
|
Loading…
Add table
Reference in a new issue