Skip to content

Commit

Permalink
cherry-pick feat: disable stx opt-in modal (#24715) into v11.15.6 (#2…
Browse files Browse the repository at this point in the history
…4720)

cherry-pick feat: disable stx opt-in modal
20e51e6 (#24715) into v11.15.6

no merge conflicts

To make sure the stx opt-in modal still pops up for users who install
11.15.6 and then update at a later time:
I followed these steps:
1. Create a build off the cherry-pick branch (this PR). Install and
onboard. Verify no modal is shown
2. Create the revert of this PR
3. Create a build off the revert branch
4. Manually upgrade the build from step 1 to the build from step 3
5. Open and unlock metamask, verify that the opt-in modal is shown
  • Loading branch information
dbrans authored May 22, 2024
1 parent cb8270d commit 21863e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/pages/home/home.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -846,8 +846,10 @@ export default class Home extends PureComponent {
!process.env.IN_TEST &&
!newNetworkAddedConfigurationId;

// TODO(dbrans): temporary fix to disable the smart transactions opt-in modal
// in 11.15 to unblock the release. Change this line in 11.16.
const showSmartTransactionsOptInModal =
canSeeModals && isSmartTransactionsOptInModalAvailable;
false && canSeeModals && isSmartTransactionsOptInModalAvailable;

const showWhatsNew =
canSeeModals &&
Expand Down

0 comments on commit 21863e4

Please sign in to comment.