Skip to content

Commit

Permalink
Merge branch 'detail-swap'
Browse files Browse the repository at this point in the history
  • Loading branch information
shorthouse committed Apr 5, 2024
2 parents 12ecd00 + cc9ffa8 commit abe56b9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ fun MarketStatsCard(
nameId = R.string.list_item_market_cap_rank,
value = coinDetails.marketCapRank
),
CoinDetailsListItem(
nameId = R.string.list_item_market_cap,
value = coinDetails.marketCap.formattedAmount
),
CoinDetailsListItem(
nameId = if (coinDetails.currentPrice.currency == Currency.USD) {
R.string.list_item_ath
Expand All @@ -41,10 +45,6 @@ fun MarketStatsCard(
},
value = coinDetails.allTimeHigh.formattedAmount
),
CoinDetailsListItem(
nameId = R.string.list_item_market_cap,
value = coinDetails.marketCap.formattedAmount
),
CoinDetailsListItem(
nameId = R.string.list_item_ath_date,
value = coinDetails.allTimeHighDate
Expand Down

0 comments on commit abe56b9

Please sign in to comment.