Updated on 2026-08-14
This commit is contained in:
parent
40ab999383
commit
cf9e84b748
2 changed files with 8 additions and 2 deletions
|
|
@ -1685,7 +1685,7 @@ internal class SwapModel @Inject constructor(
|
|||
val isNotNullCurrency = fromSwapCurrencyStatus != null && toSwapCurrencyStatus != null
|
||||
if (provider != null && swapState != null && isNotNullCurrency) {
|
||||
modelScope.launch {
|
||||
feeSelectorReloadTrigger.triggerLoadingState()
|
||||
feeSelectorRepository.state.value = FeeSelectorUM.Loading
|
||||
feeSelectorReloadTrigger.triggerUpdate()
|
||||
}
|
||||
analyticsEventHandler.send(SwapEvents.ProviderChosen(provider))
|
||||
|
|
|
|||
|
|
@ -384,7 +384,13 @@ internal class SwapNotificationsFactory(
|
|||
quoteModel: SwapState.QuotesLoadedState,
|
||||
feeError: GetFeeError?,
|
||||
) {
|
||||
if (feeError == null || feeCryptoCurrencyStatus == null) return
|
||||
if (
|
||||
feeError == null || feeCryptoCurrencyStatus == null ||
|
||||
quoteModel.permissionState !is PermissionDataState.Empty
|
||||
) {
|
||||
return
|
||||
}
|
||||
|
||||
when (feeError) {
|
||||
is GetFeeError.DataError -> {
|
||||
val error = feeError.cause
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue