opt reply hint

opt mention list header

tweak

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-07 13:38:54 +08:00
parent 74f7c5d0ea
commit 5ff6ef8801
7 changed files with 28 additions and 27 deletions

View File

@@ -6,7 +6,6 @@ import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
class SysMsgController
extends CommonListController<List<MsgSysItem>?, MsgSysItem> {
final pageSize = 20;
int? cursor;
@override
@@ -21,9 +20,6 @@ class SysMsgController
msgSysUpdateCursor(dataList.first.cursor);
}
cursor = dataList.last.cursor;
if (!isEnd && dataList.length + 1 < pageSize) {
isEnd = true;
}
}
void msgSysUpdateCursor(int? cursor) {
@@ -54,5 +50,5 @@ class SysMsgController
@override
Future<LoadingState<List<MsgSysItem>?>> customGetData() =>
MsgHttp.msgFeedNotify(cursor: cursor, pageSize: pageSize);
MsgHttp.msgFeedNotify(cursor: cursor);
}