You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
877 B
31 lines
877 B
#:import os os
|
|
|
|
Popup:
|
|
title: "Balance"
|
|
confirmed: 0
|
|
unconfirmed: 0
|
|
unmatured: 0
|
|
on_parent:
|
|
self.confirmed, self.unconfirmed, self.x = app.wallet.get_balance()
|
|
BoxLayout:
|
|
orientation: 'vertical'
|
|
spacing: '1dp'
|
|
GridLayout:
|
|
cols:2
|
|
Label:
|
|
text: _("Wallet:")
|
|
Label:
|
|
text: os.path.basename(app.wallet.storage.path)
|
|
Label:
|
|
text: _("Confirmed:")
|
|
Label:
|
|
text: app.format_amount_and_units(root.confirmed)
|
|
Label:
|
|
text: _("Unconfirmed:")
|
|
Label:
|
|
text: app.format_amount_and_units(root.unconfirmed)
|
|
Label:
|
|
text: "Unmatured:"
|
|
Label:
|
|
text: app.format_amount_and_units(root.unmatured)
|
|
Widget
|
|
|