We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fdad357 + 6d4bc0c commit 3ad7044Copy full SHA for 3ad7044
WakaTime/Helpers/MonitoringManager.swift
@@ -263,8 +263,10 @@ class MonitoringManager {
263
}
264
265
static func category(for app: NSRunningApplication, _ element: AXUIElement) -> Category {
266
- guard let monitoredApp = app.monitoredApp else {
267
- guard let url = currentBrowserUrl(for: app, element) else { return .coding }
+ guard let monitoredApp = app.monitoredApp else { return .coding }
+
268
+ if isAppBrowser(app) {
269
+ guard let url = currentBrowserUrl(for: app, element) else { return .browsing }
270
return category(from: url)
271
272
0 commit comments