commit 1f86dcdbbac9c612366abd73fb8f64c5db2edfe3 parent fa17a2b869897c368411d3605a75557a83a738c2 Author: ThomasV <thomasv@electrum.org> Date: Thu, 18 Feb 2016 06:58:46 +0100 kivy: minor fixes Diffstat:
M | gui/kivy/main.kv | | | 1 | + |
M | gui/kivy/uix/screens.py | | | 4 | ++-- |
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/gui/kivy/main.kv b/gui/kivy/main.kv @@ -85,6 +85,7 @@ TopLabel id: lbl1 text: root.text + pos_hint: {'top':1} TopLabel id: lbl2 text: root.value diff --git a/gui/kivy/uix/screens.py b/gui/kivy/uix/screens.py @@ -505,8 +505,8 @@ class RequestsScreen(CScreen): status = req.get('status') status = request_text[status] else: - received = self.app.wallet.get_addr_received(address) - status = self.app.format_amount_and_units(amount) + received_amount = self.app.wallet.get_addr_received(address) + status = self.app.format_amount_and_units(received_amount) self.app.show_pr_details(req, status, False)