Better UX for separate SDR vs HDR subtitle styles (#1622)

## Description
This PR moves the separated HDR subtitle style behind a toggle. This
means users must now opt-in to using separated SDR vs HDR subtitle
styles. This is a better UX for users who want to customize the style
but use the same styles for both.

Users who have changed the HDR subtitles previously will have the toggle
enabled automatically. If the user hasn't changed HDR style or their SDR
& HDR styles are the the same, the toggle will be disabled.

Also, fixes a bug where when playback switched between SDR or HDR, the
subtitle styles might not be updated.

### Related issues
Closes #1603

### Testing
Emulator & unit tests for migration

## Screenshots
N/A

## AI or LLM usage
None
This commit is contained in:
Damontecres 2026-06-24 19:26:05 -04:00 • committed by GitHub
parent 8a684545ac
commit e5887dfa15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 239 additions and 114 deletions

View file

@ -141,6 +141,7 @@ message SubtitlePreferences{
int32 margin = 11;
int32 edge_thickness = 12;
int32 image_subtitle_opacity = 13;
bool use_separate_hdr = 14;
}
message LiveTvPreferences {