Skip to content

Commit c6844a5

Browse files
committed
fix: Show outdated browser warning immediately
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.
1 parent 624763a commit c6844a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/scripts/controllers/app-state.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default class AppStateController extends EventEmitter {
4343
fullScreenGasPollTokens: [],
4444
recoveryPhraseReminderHasBeenShown: false,
4545
recoveryPhraseReminderLastShown: new Date().getTime(),
46-
outdatedBrowserWarningLastShown: new Date().getTime(),
46+
outdatedBrowserWarningLastShown: null,
4747
nftsDetectionNoticeDismissed: false,
4848
showTestnetMessageInDropdown: true,
4949
showBetaHeader: isBeta(),

0 commit comments

Comments
 (0)