Merge pull request #1986 from AlphaWallet/fix-show-token-24h-price-change-not-24h-market-cap-change

Fix: Show token 24 hour price change instead of 24 hour market cap change
pull/2015/head
James Sangalli 4 years ago committed by GitHub
commit bf9d5b504a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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

Loading…
Cancel
Save