Skip to content

Commit 1cf5881

Browse files
authored
Merge pull request #917 from alideep5/fix-ios-subtitleOn-not-working
Resolve issue where 'subtitleOn' doesn't enable subtitles by default on iOS
2 parents da3e082 + fbb60cb commit 1cf5881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/cupertino/cupertino_controls.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ class _CupertinoControlsState extends State<CupertinoControls>
649649
}
650650

651651
Future<void> _initialize() async {
652-
chewieController.showSubtitles &&
652+
_subtitleOn = chewieController.showSubtitles &&
653653
(chewieController.subtitle?.isNotEmpty ?? false);
654654
controller.addListener(_updateState);
655655

0 commit comments

Comments
 (0)