From e0e61090517faee134709627d9ca12311182a3cd Mon Sep 17 00:00:00 2001 From: Tangem Date: Thu, 4 Aug 2022 20:23:49 +0300 Subject: [PATCH] Updated on 2026-08-14 --- .../tangem/tap/features/send/redux/reducers/FeeReducer.kt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/tangem/tap/features/send/redux/reducers/FeeReducer.kt b/app/src/main/java/com/tangem/tap/features/send/redux/reducers/FeeReducer.kt index edb435953f..fd653557c7 100644 --- a/app/src/main/java/com/tangem/tap/features/send/redux/reducers/FeeReducer.kt +++ b/app/src/main/java/com/tangem/tap/features/send/redux/reducers/FeeReducer.kt @@ -106,8 +106,12 @@ class FeeReducer : SendInternalReducer { private fun getFeePrecision(sendState: SendState): FeePrecision { val blockchain = sendState.walletManager?.wallet?.blockchain - return if ((blockchain?.fullNameWithoutTestnet == Blockchain.Arbitrum.fullName || blockchain?.fullNameWithoutTestnet == Blockchain.Tron.fullName) && - sendState.amountState.typeOfAmount is AmountType.Token) { + return if ( + (blockchain?.fullNameWithoutTestnet == Blockchain.Arbitrum.fullName || + blockchain?.fullNameWithoutTestnet == Blockchain.Tron.fullName || + blockchain?.fullNameWithoutTestnet == Blockchain.Gnosis.fullName) && + sendState.amountState.typeOfAmount is AmountType.Token + ) { FeePrecision.CAN_BE_LOWER } else { FeePrecision.PRECISE