Skip to content

Commit

Permalink
Prevent flickering on RetryModal
Browse files Browse the repository at this point in the history
  • Loading branch information
OGPoyraz committed Feb 20, 2025
1 parent 71b9f59 commit 83bdfcc
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions app/components/UI/Transactions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -861,13 +861,6 @@ class Transactions extends PureComponent {
descriptionText={strings('transaction.speedup_tx_message')}
/>
)}

<RetryModal
onCancelPress={() => this.toggleRetry(undefined)}
onConfirmPress={this.retry}
retryIsOpen={this.state.retryIsOpen}
errorMsg={this.state.errorMsg}
/>
</View>
);
};
Expand All @@ -885,6 +878,12 @@ class Transactions extends PureComponent {
{(this.state.speedUp1559IsOpen || this.state.cancel1559IsOpen) &&
this.renderUpdateTxEIP1559Gas(this.state.cancel1559IsOpen)}
</View>
<RetryModal
onCancelPress={() => this.toggleRetry(undefined)}
onConfirmPress={this.retry}
retryIsOpen={this.state.retryIsOpen}
errorMsg={this.state.errorMsg}
/>
</PriceChartProvider>
);
};
Expand Down

0 comments on commit 83bdfcc

Please sign in to comment.