mirror of
https://github.com/solidtime-io/solidtime-desktop.git
synced 2026-05-07 20:32:27 +00:00
remove duplicate updateActivityTrackingEnabled call on update
This commit is contained in:
@@ -58,8 +58,6 @@ export async function initializeSettings() {
|
||||
|
||||
watch(activityTrackingEnabled, (value) => {
|
||||
updateSetting({ activityTrackingEnabled: value })
|
||||
// Also notify main process for activity tracking
|
||||
window.electronAPI.updateActivityTrackingEnabled(value)
|
||||
})
|
||||
} catch (error) {
|
||||
console.error('Failed to initialize settings:', error)
|
||||
|
||||
Reference in New Issue
Block a user