Skip to content

Commit

Permalink
fix: fix bug where startWatcher() never called (fixes #105)
Browse files Browse the repository at this point in the history
Co-authored-by: ChatGPT4 <[email protected]>
  • Loading branch information
ErikBjare and ChatGPT4 committed Apr 6, 2023
1 parent 0025f6b commit 069da02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "ActivityWatch Web Watcher",
"short_name": "ActivityWatch",
"description": "Log the current tab and your browser activity with ActivityWatch.",
"version": "0.4.6",
"version": "0.4.7",
"icons": {
"128": "media/logo/logo-128.png"
},
Expand Down
2 changes: 2 additions & 0 deletions src/eventPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ function startPopupListener() {
chrome.storage.local.set({"enabled": true});
startWatcher();
}
} else if (obj.enabled) {
startWatcher();
}
});
chrome.runtime.onMessage.addListener(popupRequestReceived);
Expand Down

0 comments on commit 069da02

Please sign in to comment.