Skip to content

Fix PC Switch Control status text colour - #482

Merged
enaboapps merged 1 commit into
mainfrom
fix/main-switch-profile-text
Jul 28, 2026
Merged

Fix PC Switch Control status text colour#482
enaboapps merged 1 commit into
mainfrom
fix/main-switch-profile-text

Conversation

@enaboapps

Copy link
Copy Markdown
Contributor

Summary

  • bind the active PC Switch Control profile status to the current theme text colour
  • add a stable automation identifier for the status element
  • cover light, dark, active, and inactive rendering states

Root cause

The status TextBlock did not declare a foreground, so WPF inherited its default black text instead of the dynamic theme resource.

Validation

  • dotnet restore src/SwitchifyPc.sln
  • dotnet build src/SwitchifyPc.sln -c Release --no-restore (0 warnings, 0 errors)
  • dotnet test src/SwitchifyPc.sln -c Release --no-build (522 unit, 1 integration)
  • focused light/dark WPF regression tests (2 passed)
  • live inactive state confirmed hidden without changing protocol or profile data

Closes #481

@enaboapps enaboapps added this to the Release 0.9.1 milestone Jul 28, 2026
@enaboapps
enaboapps merged commit 155fc7d into main Jul 28, 2026
1 check passed
@enaboapps
enaboapps deleted the fix/main-switch-profile-text branch July 28, 2026 21:27
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.

Fix PC Switch Control status text colour

2 participants