We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29ee2ba + c69ad06 commit f893afdCopy full SHA for f893afd
WakaTime/Helpers/MonitoringManager.swift
@@ -82,7 +82,7 @@ class MonitoringManager {
82
83
static var allMonitoredApps: [String] {
84
if let bundleIds = UserDefaults.standard.stringArray(forKey: monitoringKey) {
85
- return bundleIds
+ return bundleIds.filter { MonitoredApp.pluginAppIds[$0] == nil }
86
} else {
87
var bundleIds: [String] = []
88
let defaults = UserDefaults.standard.dictionaryRepresentation()
@@ -97,7 +97,7 @@ class MonitoringManager {
97
}
98
UserDefaults.standard.set(bundleIds, forKey: monitoringKey)
99
UserDefaults.standard.synchronize()
100
101
102
103
0 commit comments