opt: reply type (#850)

This commit is contained in:
My-Responsitories
2025-05-11 16:38:15 +08:00
committed by GitHub
parent 0b57cd3555
commit c899ea95e1
5 changed files with 77 additions and 80 deletions

View File

@@ -32,7 +32,7 @@ class VideoReplyReplyController extends ReplyController
int rpid;
ReplyType replyType; // = ReplyType.video;
dynamic firstFloor;
ReplyInfo? firstFloor;
int? index;
AnimationController? controller;
@@ -65,9 +65,9 @@ class VideoReplyReplyController extends ReplyController
bool customHandleResponse(bool isRefresh, Success response) {
final data = response.response;
upMid ??= data.subjectControl.upMid.toInt();
upMid ??= data.subjectControl.upMid;
paginationReply = data.paginationReply;
isEnd = data.cursor?.isEnd ?? false;
isEnd = data.cursor.isEnd;
// reply2Reply // isDialogue.not
if (data is DetailListReply) {