|
@ -137,7 +137,8 @@ class HistoryScreen(CScreen): |
|
|
rate = run_hook('history_rate', date) |
|
|
rate = run_hook('history_rate', date) |
|
|
if self.app.fiat_unit: |
|
|
if self.app.fiat_unit: |
|
|
quote_text = "..." if rate is None else "{0:.3} {1}".format(Decimal(value) / 100000000 * Decimal(rate), self.app.fiat_unit) |
|
|
quote_text = "..." if rate is None else "{0:.3} {1}".format(Decimal(value) / 100000000 * Decimal(rate), self.app.fiat_unit) |
|
|
|
|
|
else: |
|
|
|
|
|
quote_text = '' |
|
|
yield (conf, icon, time_str, label, value, tx_hash, quote_text) |
|
|
yield (conf, icon, time_str, label, value, tx_hash, quote_text) |
|
|
|
|
|
|
|
|
def update(self, see_all=False): |
|
|
def update(self, see_all=False): |
|
|