Skip to content

Commit

Permalink
Change top pairs price currency symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
ant013 committed Jan 8, 2024
1 parent 8131005 commit e96f5e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ extension MarketListMarketPairDecorator: IMarketListDecorator {
let currency = service.currency

let volume = item.volume.flatMap { ValueFormatter.instance.formatShort(currency: currency, value: $0) } ?? "n/a".localized
let price = item.price.flatMap { ValueFormatter.instance.formatShort(currency: currency, value: $0) } ?? "n/a".localized
let price = item.price.flatMap { ValueFormatter.instance.formatShort(value: $0, decimalCount: 8, symbol: item.target) } ?? "n/a".localized

return MarketModule.ListViewItem(
uid: item.uid,
Expand Down

0 comments on commit e96f5e3

Please sign in to comment.