Skip to content

Commit fbb60cb

Browse files
author
Ali
committed
fix: ios subtitleOn flag not working
1 parent 0a390f9 commit fbb60cb

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)