File tree Expand file tree Collapse file tree
apps/flipcash/shared/tokens/src/main/kotlin/com/flipcash/app/tokens/ui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,10 +152,9 @@ class BuySellSwapTokenViewModel @Inject constructor(
152152 amountEntryState.limits?.sendLimitFor(
153153 it
154154 )
155- }
156- ? : SendLimit .Zero
155+ } ? : SendLimit .Zero
157156
158- sendLimit.nextTransaction .toFiat(enteredAmount.currencyCode)
157+ sendLimit.maxPerDay .toFiat(enteredAmount.currencyCode)
159158 }
160159
161160 is TokenSwapPurpose .Sell -> tokenBalance
@@ -450,7 +449,7 @@ class BuySellSwapTokenViewModel @Inject constructor(
450449 }
451450 .onEach { (limits, currency) ->
452451 val sendLimit = limits?.sendLimitFor(currency) ? : SendLimit .Zero
453- val nextTransactionLimit = sendLimit.nextTransaction
452+ val nextTransactionLimit = sendLimit.maxPerDay
454453 dispatchEvent(Event .OnMaxDetermined (nextTransactionLimit, currency))
455454 }.launchIn(viewModelScope)
456455
You can’t perform that action at this time.
0 commit comments