We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c6809d commit 2f70871Copy full SHA for 2f70871
1 file changed
apps/flipcash/shared/tokens/src/main/kotlin/com/flipcash/app/tokens/ui/SelectTokenViewModel.kt
@@ -47,7 +47,6 @@ class SelectTokenViewModel @Inject constructor(
47
initialState = State(purpose = TokenPurpose.Balance),
48
updateStateForEvent = updateStateForEvent
49
) {
50
-
51
data class State(
52
val purpose: TokenPurpose,
53
val reservesEnabled: Boolean = false,
@@ -110,11 +109,6 @@ class SelectTokenViewModel @Inject constructor(
110
109
.map {
111
TokenWithLocalizedBalance(
112
token = it.token,
113
- displayName = if (it.token.address == Mint.usdf) {
114
- resources.getString(R.string.title_cashReserves)
115
- } else {
116
- it.token.name
117
- },
118
balance = LocalFiat(
119
usdf = it.balance,
120
nativeAmount = it.balance.convertingTo(rate),
0 commit comments