Skip to content

Commit

Permalink
fix: Show outdated browser warning immediately
Browse files Browse the repository at this point in the history
The outdated browser warning logic has been updated to ensure that it
gets shown immediately fot new installations if applicable.

We have a timer setup to ensure we don't bother users too often with
this warning; it recurs every two days. However, it was initialized
to the current date, so new users would not see it for two days.
  • Loading branch information
Gudahtt committed Jun 17, 2024
1 parent 624763a commit c6844a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/controllers/app-state.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default class AppStateController extends EventEmitter {
fullScreenGasPollTokens: [],
recoveryPhraseReminderHasBeenShown: false,
recoveryPhraseReminderLastShown: new Date().getTime(),
outdatedBrowserWarningLastShown: new Date().getTime(),
outdatedBrowserWarningLastShown: null,
nftsDetectionNoticeDismissed: false,
showTestnetMessageInDropdown: true,
showBetaHeader: isBeta(),
Expand Down

0 comments on commit c6844a5

Please sign in to comment.