Skip to content

Commit 12fa27f

Browse files
committed
Avoid welcome page workaround opening on update
Following up on #2798
1 parent 51f4229 commit 12fa27f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/js/background.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ function Badger() {
133133

134134
let privateStore = self.getPrivateSettings();
135135
if (self.isFirstRun) {
136+
privateStore.setItem("firstRunTimerFinished", false);
137+
136138
// work around the welcome page getting closed by an extension restart
137139
// such as in response to being granted Private Browsing permission
138140
// from the post-install doorhanger on Firefox
@@ -873,7 +875,7 @@ Badger.prototype = {
873875

874876
// initialize any other private store (not-for-export) settings
875877
let privateDefaultSettings = {
876-
firstRunTimerFinished: false,
878+
firstRunTimerFinished: true,
877879
showLearningPrompt: false,
878880
};
879881
for (let key of Object.keys(privateDefaultSettings)) {

src/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "2021.11.23",
2+
"version": "2021.11.23.1",
33
"author": {
44
"email": "[email protected]"
55
},

0 commit comments

Comments
 (0)