fix(@wallet): wrong decimal place for market value in assets list
fixes #13152
This commit is contained in:
parent
263ed2a822
commit
eb06c64358
|
@ -18,11 +18,14 @@ QtObject:
|
|||
self.QObject.delete
|
||||
|
||||
proc newMarketDetailsItem*(
|
||||
delegate: io_interface.TokenMarketValuesDataSource, symbol: string): MarketDetailsItem =
|
||||
delegate: io_interface.TokenMarketValuesDataSource, symbol: string
|
||||
): MarketDetailsItem =
|
||||
new(result)
|
||||
result.setup()
|
||||
result.delegate = delegate
|
||||
result.symbol = symbol
|
||||
result.currencyFormat = delegate.getCurrentCurrencyFormat()
|
||||
|
||||
|
||||
proc updateCurrencyFormat*(self: MarketDetailsItem) =
|
||||
self.currencyFormat = self.delegate.getCurrentCurrencyFormat()
|
||||
|
|
Loading…
Reference in New Issue