mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
kivy: fix amount
This commit is contained in:
parent
3b49b5adca
commit
4eff85957d
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ class SendScreen(CScreen):
|
||||||
self.ids.message_e.text = uri.get('message', '')
|
self.ids.message_e.text = uri.get('message', '')
|
||||||
amount = uri.get('amount')
|
amount = uri.get('amount')
|
||||||
if amount:
|
if amount:
|
||||||
amount_str = str( a / Decimal(self.app.decimal_point()))
|
amount_str = str( Decimal(amount) / pow(10, self.app.decimal_point()))
|
||||||
self.ids.amount_e.text = amount_str + ' ' + self.app.base_unit
|
self.ids.amount_e.text = amount_str + ' ' + self.app.base_unit
|
||||||
|
|
||||||
def do_clear(self):
|
def do_clear(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue