Skip to content

Fix parsing category from browser url#351

Merged
alanhamlett merged 2 commits intowakatime:mainfrom
marijnvanderhorst:bugfix/browser-url-category
Jan 2, 2026
Merged

Fix parsing category from browser url#351
alanhamlett merged 2 commits intowakatime:mainfrom
marijnvanderhorst:bugfix/browser-url-category

Conversation

@marijnvanderhorst
Copy link
Copy Markdown
Contributor

PR #317 introduced a function to determine the heartbeat category from the browser URL. The function call was made impossible to reach, though. This, as it was part of the guard statement and, hence, would execute only for unmonitored apps, which in turn do not result in a valid browser URL. This PR aims to make the function call reachable for browser apps for which we can find a URL.

Comment thread WakaTime/Helpers/MonitoringManager.swift Outdated
@alanhamlett alanhamlett enabled auto-merge January 2, 2026 04:17
@alanhamlett alanhamlett merged commit 3ad7044 into wakatime:main Jan 2, 2026
6 checks passed
@marijnvanderhorst marijnvanderhorst deleted the bugfix/browser-url-category branch January 2, 2026 10:45
@alanhamlett alanhamlett mentioned this pull request Jan 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants