Skip to content

fix(app): exclude manual recording from isWatching state#44

Merged
pasrom merged 1 commit intomainfrom
fix/is-watching-excludes-manual-recording
Mar 18, 2026
Merged

fix(app): exclude manual recording from isWatching state#44
pasrom merged 1 commit intomainfrom
fix/is-watching-excludes-manual-recording

Conversation

@pasrom
Copy link
Copy Markdown
Owner

@pasrom pasrom commented Mar 18, 2026

Problem

During manual recording ("Record App..."), the "Start Watching" button incorrectly showed "Stop Watching" because isWatching only checked watchLoop?.isActive. Clicking it did nothing (guarded in toggleWatching), but the label was misleading.

Fix

isWatching now also requires isManualRecording == false.

Test plan

  • Start manual recording → "Start Watching" stays as "Start Watching"
  • Start auto-watch → "Start Watching" changes to "Stop Watching"

Start Watching button showed 'Stop Watching' during manual recording
because isWatching only checked isActive. It now also requires
isManualRecording == false.
@github-actions github-actions bot added the bug Something isn't working label Mar 18, 2026
@pasrom pasrom merged commit f55da84 into main Mar 18, 2026
11 checks passed
@pasrom pasrom deleted the fix/is-watching-excludes-manual-recording branch March 18, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant