Updated on 2026-08-14
This commit is contained in:
parent
09e6cc0530
commit
b024f91f19
1 changed files with 3 additions and 1 deletions
|
|
@ -302,6 +302,7 @@ internal class StateBuilder(
|
|||
)
|
||||
}
|
||||
|
||||
@Suppress("LongMethod", "CyclomaticComplexMethod")
|
||||
private fun getWarningsForSuccessState(
|
||||
quoteModel: SwapState.QuotesLoadedState,
|
||||
fromToken: CryptoCurrency,
|
||||
|
|
@ -327,7 +328,8 @@ internal class StateBuilder(
|
|||
else -> Unit
|
||||
}
|
||||
if (!quoteModel.preparedSwapConfigState.isFeeEnough &&
|
||||
quoteModel.preparedSwapConfigState.isBalanceEnough
|
||||
quoteModel.preparedSwapConfigState.isBalanceEnough &&
|
||||
quoteModel.permissionState !is PermissionDataState.PermissionLoading
|
||||
) {
|
||||
warnings.add(
|
||||
SwapWarning.UnableToCoverFeeWarning(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue