Logging is enabled by default when the extension in first installed if the user has signed in to Wakatime.
This commit is contained in:
@@ -51,7 +51,7 @@ class WakaTime {
|
|||||||
if (data !== false) {
|
if (data !== false) {
|
||||||
|
|
||||||
chrome.storage.sync.get({
|
chrome.storage.sync.get({
|
||||||
loggingEnabled: false
|
loggingEnabled: true
|
||||||
}, (items) => {
|
}, (items) => {
|
||||||
if (items.loggingEnabled === true) {
|
if (items.loggingEnabled === true) {
|
||||||
changeExtensionIcon();
|
changeExtensionIcon();
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ var WakaTime = (function () {
|
|||||||
if (data !== false) {
|
if (data !== false) {
|
||||||
|
|
||||||
chrome.storage.sync.get({
|
chrome.storage.sync.get({
|
||||||
loggingEnabled: false
|
loggingEnabled: true
|
||||||
}, function (items) {
|
}, function (items) {
|
||||||
if (items.loggingEnabled === true) {
|
if (items.loggingEnabled === true) {
|
||||||
(0, _helpersChangeExtensionIconJs2['default'])();
|
(0, _helpersChangeExtensionIconJs2['default'])();
|
||||||
|
|||||||
Reference in New Issue
Block a user