From 83bdfccf7b9d95f205fc91b83a391deb4c1588be Mon Sep 17 00:00:00 2001 From: OGPoyraz Date: Thu, 20 Feb 2025 14:58:29 +0100 Subject: [PATCH] Prevent flickering on RetryModal --- app/components/UI/Transactions/index.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/app/components/UI/Transactions/index.js b/app/components/UI/Transactions/index.js index d6a7d025150..6bbc22e8232 100644 --- a/app/components/UI/Transactions/index.js +++ b/app/components/UI/Transactions/index.js @@ -861,13 +861,6 @@ class Transactions extends PureComponent { descriptionText={strings('transaction.speedup_tx_message')} /> )} - - this.toggleRetry(undefined)} - onConfirmPress={this.retry} - retryIsOpen={this.state.retryIsOpen} - errorMsg={this.state.errorMsg} - /> ); }; @@ -885,6 +878,12 @@ class Transactions extends PureComponent { {(this.state.speedUp1559IsOpen || this.state.cancel1559IsOpen) && this.renderUpdateTxEIP1559Gas(this.state.cancel1559IsOpen)} + this.toggleRetry(undefined)} + onConfirmPress={this.retry} + retryIsOpen={this.state.retryIsOpen} + errorMsg={this.state.errorMsg} + /> ); };