mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-22 03:31:09 +08:00
fix PopupMenuText
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -2169,7 +2169,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
),
|
||||
PopupMenuText(
|
||||
title: '选择画质',
|
||||
initialValue: qa.code,
|
||||
value: () => qa.code,
|
||||
onSelected: (value) {
|
||||
final video = videoDetailController.findVideoByQa(value);
|
||||
url = video.baseUrl;
|
||||
@@ -2189,7 +2189,7 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
|
||||
),
|
||||
PopupMenuText(
|
||||
title: 'webp预设',
|
||||
initialValue: preset,
|
||||
value: () => preset,
|
||||
onSelected: (value) {
|
||||
preset = value;
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user