Updated on 2026-08-14
This commit is contained in:
parent
9fa341d0df
commit
ea657bbba7
1 changed files with 4 additions and 6 deletions
|
|
@ -81,6 +81,10 @@ internal class SendAmountModel @Inject constructor(
|
|||
configAmountNavigation()
|
||||
initAppCurrency()
|
||||
subscribeOnCryptoCurrencyStatusFlow()
|
||||
subscribeOnAmountReduceByTriggerUpdates()
|
||||
subscribeOnAmountReduceToTriggerUpdates()
|
||||
subscribeOnAmountIgnoreReduceTriggerUpdates()
|
||||
subscribeOnAmountUpdateQRTriggerUpdates()
|
||||
}
|
||||
|
||||
private fun initAppCurrency() {
|
||||
|
|
@ -95,12 +99,6 @@ internal class SendAmountModel @Inject constructor(
|
|||
.onEach { newCryptoCurrencyStatus ->
|
||||
cryptoCurrencyStatus = newCryptoCurrencyStatus
|
||||
maxAmountBoundary = MaxEnterAmountConverter().convert(cryptoCurrencyStatus)
|
||||
if (uiState.value is AmountState.Empty) {
|
||||
subscribeOnAmountReduceByTriggerUpdates()
|
||||
subscribeOnAmountReduceToTriggerUpdates()
|
||||
subscribeOnAmountIgnoreReduceTriggerUpdates()
|
||||
subscribeOnAmountUpdateQRTriggerUpdates()
|
||||
}
|
||||
initMinBoundary()
|
||||
}
|
||||
.launchIn(modelScope)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue