mobile eth fee selection sheet fix

This commit is contained in:
julian 2023-04-13 09:03:04 -06:00
parent 4797b083e2
commit 5267d5f949

View file

@ -358,13 +358,15 @@ class _TransactionFeeSelectionSheetState
const SizedBox(
height: 2,
),
if (feeObject == null)
if (feeObject == null &&
manager.coin != Coin.ethereum)
AnimatedText(
stringsToLoopThrough:
stringsToLoopThrough,
style: STextStyles.itemSubtitle(context),
),
if (feeObject != null)
if (feeObject != null &&
manager.coin != Coin.ethereum)
Text(
estimatedTimeToBeIncludedInNextBlock(
Constants.targetBlockTimeInSeconds(
@ -490,13 +492,15 @@ class _TransactionFeeSelectionSheetState
const SizedBox(
height: 2,
),
if (feeObject == null)
if (feeObject == null &&
manager.coin != Coin.ethereum)
AnimatedText(
stringsToLoopThrough:
stringsToLoopThrough,
style: STextStyles.itemSubtitle(context),
),
if (feeObject != null)
if (feeObject != null &&
manager.coin != Coin.ethereum)
Text(
estimatedTimeToBeIncludedInNextBlock(
Constants.targetBlockTimeInSeconds(
@ -622,13 +626,15 @@ class _TransactionFeeSelectionSheetState
const SizedBox(
height: 2,
),
if (feeObject == null)
if (feeObject == null &&
manager.coin != Coin.ethereum)
AnimatedText(
stringsToLoopThrough:
stringsToLoopThrough,
style: STextStyles.itemSubtitle(context),
),
if (feeObject != null)
if (feeObject != null &&
manager.coin != Coin.ethereum)
Text(
estimatedTimeToBeIncludedInNextBlock(
Constants.targetBlockTimeInSeconds(