Skip to content

Commit

Permalink
Show MarketCap as subtitle in Widget
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelekol committed Jun 7, 2024
1 parent b7240d4 commit 0a70a27
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ class MarketWidgetRepository(

return MarketWidgetItem(
uid = marketItem.fullCoin.coin.uid,
title = marketItem.fullCoin.coin.name,
subtitle = marketItem.fullCoin.coin.code,
title = marketItem.fullCoin.coin.code,
subtitle = marketItem.marketCap.getFormattedShort(),
label = marketItem.fullCoin.coin.marketCapRank?.toString() ?: "",
value = App.numberFormatter.formatFiatFull(
marketItem.rate.value,
Expand Down

0 comments on commit 0a70a27

Please sign in to comment.