mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix kivy not updating units in history
This commit is contained in:
parent
0cf14635e0
commit
c3349df724
2 changed files with 2 additions and 3 deletions
|
@ -144,7 +144,7 @@ class HistoryScreen(CScreen):
|
||||||
ri.date = status_str
|
ri.date = status_str
|
||||||
ri.message = label
|
ri.message = label
|
||||||
ri.value = value or 0
|
ri.value = value or 0
|
||||||
ri.value_known = value is not None
|
ri.amount = self.app.format_amount(value, True) if value is not None else '--'
|
||||||
ri.confirmations = conf
|
ri.confirmations = conf
|
||||||
if self.app.fiat_unit and date:
|
if self.app.fiat_unit and date:
|
||||||
rate = self.app.fx.history_rate(date)
|
rate = self.app.fx.history_rate(date)
|
||||||
|
|
|
@ -20,8 +20,7 @@
|
||||||
icon: 'atlas://gui/kivy/theming/light/important'
|
icon: 'atlas://gui/kivy/theming/light/important'
|
||||||
message: ''
|
message: ''
|
||||||
value: 0
|
value: 0
|
||||||
value_known: True
|
amount: '--'
|
||||||
amount: app.format_amount(self.value, True) if self.value_known else '--'
|
|
||||||
amount_color: '#FF6657' if self.value < 0 else '#2EA442'
|
amount_color: '#FF6657' if self.value < 0 else '#2EA442'
|
||||||
confirmations: 0
|
confirmations: 0
|
||||||
date: ''
|
date: ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue