mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
fix #1712
fix #1641 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -493,7 +493,7 @@ class HeaderControlState extends State<HeaderControl> {
|
||||
leading: const Icon(Icons.play_circle_outline, size: 20),
|
||||
title: const Text('选择画质', style: titleStyle),
|
||||
subtitle: Text(
|
||||
'当前画质 ${videoDetailCtr.currentVideoQa.value.desc}',
|
||||
'当前画质 ${videoDetailCtr.currentVideoQa.value?.desc}',
|
||||
style: subTitleStyle,
|
||||
),
|
||||
),
|
||||
@@ -759,7 +759,8 @@ class HeaderControlState extends State<HeaderControl> {
|
||||
return;
|
||||
}
|
||||
final List<FormatItem> videoFormat = videoInfo.supportFormats!;
|
||||
final VideoQuality currentVideoQa = videoDetailCtr.currentVideoQa.value;
|
||||
final VideoQuality? currentVideoQa = videoDetailCtr.currentVideoQa.value;
|
||||
if (currentVideoQa == null) return;
|
||||
|
||||
/// 总质量分类
|
||||
final int totalQaSam = videoFormat.length;
|
||||
|
||||
Reference in New Issue
Block a user