From 7444f7f799750b04ef7646ee7c1bcbffe6140254 Mon Sep 17 00:00:00 2001 From: Hwee-Boon Yar Date: Thu, 2 Jul 2020 13:33:27 +0800 Subject: [PATCH] Fix: Show token 24 hour price change instead of 24 hour market cap change --- AlphaWallet/EtherClient/CoinMarket/Types/CoinTicker.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AlphaWallet/EtherClient/CoinMarket/Types/CoinTicker.swift b/AlphaWallet/EtherClient/CoinMarket/Types/CoinTicker.swift index 24dcbfde5..66a3d851d 100644 --- a/AlphaWallet/EtherClient/CoinMarket/Types/CoinTicker.swift +++ b/AlphaWallet/EtherClient/CoinMarket/Types/CoinTicker.swift @@ -5,7 +5,7 @@ import RealmSwift struct CoinTicker: Codable { private enum CodingKeys: String, CodingKey { - case price_usd = "current_price", percent_change_24h = "market_cap_change_percentage_24h", id = "id", symbol = "symbol", image = "image" + case price_usd = "current_price", percent_change_24h = "price_change_percentage_24h", id = "id", symbol = "symbol", image = "image" } private let id: String