mirror of
https://github.com/yattee/yattee.git
synced 2025-11-25 02:38:29 +00:00
The captions context menu on tvOS was always empty because it relied on an .onAppear callback that was never triggered. The captionsPicker view with .onAppear was only rendered on iOS/macOS, not tvOS. Changes: - Access captions directly from player.currentVideo?.captions instead of using a state variable populated via .onAppear - Fix label logic to show "Disabled" when captions are available but not selected, and "Not available" only when video has no captions - Remove unused state variables and helper functions