Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
Signed-off-by: bggRGjQaUbCoE <[email protected]>
  • Loading branch information
bggRGjQaUbCoE committed Feb 19, 2025
1 parent 15b949b commit 415c68a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/http/danmaku.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'package:PiliPlus/utils/extension.dart';
import 'package:dio/dio.dart';
import 'index.dart';

class DanmakaHttp {
class DanmakuHttp {
// 获取视频弹幕
static Future queryDanmaku({
required int cid,
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/danmaku/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class PlDanmakuController {
}
assert(requestedSeg[segmentIndex] == false);
requestedSeg[segmentIndex] = true;
final DmSegMobileReply result = await DanmakaHttp.queryDanmaku(
final DmSegMobileReply result = await DanmakuHttp.queryDanmaku(
cid: cid,
segmentIndex: segmentIndex + 1,
mergeDanmaku: plPlayerController.mergeDanmaku,
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/video/detail/widgets/send_danmaku_panel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ class _SendDanmakuPanelState extends CommonPublishPageState<SendDanmakuPanel> {
@override
Future onCustomPublish({required String message, List? pictures}) async {
SmartDialog.showLoading(msg: '发送中...');
final dynamic res = await DanmakaHttp.shootDanmaku(
final dynamic res = await DanmakuHttp.shootDanmaku(
oid: widget.cid,
bvid: widget.bvid,
progress: widget.progress,
Expand Down

0 comments on commit 415c68a

Please sign in to comment.