Skip to content

Commit

Permalink
fix: #51 showing same price on new deal notificatin (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
psuzn authored Jan 14, 2024
1 parent 6ba96b4 commit fe43511
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ private fun Float.formatAsPrice(): String {
return "$int.$formattedDecimal"
}

fun DealEntity.formattedCurrentPrice() = "${currency.asCurrencySymbol()}${normalPrice.formatAsPrice()}"
fun DealEntity.formattedCurrentPrice() = "${currency.asCurrencySymbol()}${currentPrice.formatAsPrice()}"

fun DealEntity.formattedNormalPrice() = "${currency.asCurrencySymbol()}${normalPrice.formatAsPrice()}"

0 comments on commit fe43511

Please sign in to comment.