Skip to content

Commit

Permalink
Refresh fiat amount on coin price update
Browse files Browse the repository at this point in the history
  • Loading branch information
abdrasulov committed Mar 27, 2024
1 parent d44cdec commit 2dba7eb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ class FiatService(private val marketKit: MarketKitWrapper) : ServiceState<FiatSe
.asFlow()
.collect {
coinPrice = it
refreshAmount()

refreshFiatAmount()
emitState()
}
}
Expand Down

0 comments on commit 2dba7eb

Please sign in to comment.