mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
@@ -1014,7 +1014,7 @@ class VideoDetailController extends GetxController
|
||||
}
|
||||
}
|
||||
|
||||
({int mode, int fontsize, Color color})? dmConfig;
|
||||
({int mode, int fontSize, Color color})? dmConfig;
|
||||
String? savedDanmaku;
|
||||
|
||||
/// 发送弹幕
|
||||
@@ -1036,7 +1036,7 @@ class VideoDetailController extends GetxController
|
||||
progress: plPlayerController.position.value.inMilliseconds,
|
||||
initialValue: savedDanmaku,
|
||||
onSave: (danmaku) => savedDanmaku = danmaku,
|
||||
callback: (danmakuModel) {
|
||||
onSuccess: (danmakuModel) {
|
||||
savedDanmaku = null;
|
||||
plPlayerController.danmakuController?.addDanmaku(danmakuModel);
|
||||
},
|
||||
@@ -1171,7 +1171,7 @@ class VideoDetailController extends GetxController
|
||||
seasonId: isUgc ? null : seasonId,
|
||||
pgcType: isUgc ? null : pgcType,
|
||||
videoType: videoType,
|
||||
callback: () async {
|
||||
onInit: () async {
|
||||
if (videoState.value is! Success) {
|
||||
videoState.value = const Success(null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user