fix: 字幕req导致headerControl初始化异常

This commit is contained in:
guozhigq
2024-07-07 22:27:28 +08:00
parent 2c2df55704
commit c667b1494a
2 changed files with 8 additions and 15 deletions

View File

@ -1329,7 +1329,7 @@ class _HeaderControlState extends State<HeaderControl> {
],
/// 字幕
if (widget.showSubtitleBtn!)
if (widget.showSubtitleBtn ?? true)
ComBtn(
icon: const Icon(
Icons.closed_caption_off,