mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 01:26:59 +08:00
committed by
GitHub
parent
84f7f14a29
commit
08a33d9ce5
@@ -1,4 +1,3 @@
|
||||
import 'package:PiliPlus/grpc/bilibili/main/community/reply/v1.pb.dart';
|
||||
import 'package:PiliPlus/http/loading_state.dart';
|
||||
import 'package:PiliPlus/http/match.dart';
|
||||
import 'package:PiliPlus/models_new/match/match_info/contest.dart';
|
||||
@@ -17,9 +16,11 @@ class MatchInfoController extends CommonDynController {
|
||||
final Rx<LoadingState<MatchContest?>> infoState =
|
||||
LoadingState<MatchContest?>.loading().obs;
|
||||
|
||||
@override
|
||||
double get offsetDy => 2;
|
||||
|
||||
@override
|
||||
void onInit() {
|
||||
offsetDy = 2;
|
||||
super.onInit();
|
||||
getMatchInfo();
|
||||
}
|
||||
@@ -31,9 +32,4 @@ class MatchInfoController extends CommonDynController {
|
||||
}
|
||||
infoState.value = res;
|
||||
}
|
||||
|
||||
@override
|
||||
List<ReplyInfo>? getDataList(MainListReply response) {
|
||||
return response.replies;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user