Skip to content

Commit 069da02

Browse files
ErikBjareChatGPT4
andcommitted
fix: fix bug where startWatcher() never called (fixes #105)
Co-authored-by: ChatGPT4 <chat@openai.com>
1 parent 0025f6b commit 069da02

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "ActivityWatch Web Watcher",
55
"short_name": "ActivityWatch",
66
"description": "Log the current tab and your browser activity with ActivityWatch.",
7-
"version": "0.4.6",
7+
"version": "0.4.7",
88
"icons": {
99
"128": "media/logo/logo-128.png"
1010
},

src/eventPage.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ function startPopupListener() {
196196
chrome.storage.local.set({"enabled": true});
197197
startWatcher();
198198
}
199+
} else if (obj.enabled) {
200+
startWatcher();
199201
}
200202
});
201203
chrome.runtime.onMessage.addListener(popupRequestReceived);

0 commit comments

Comments
 (0)