fix: parse whisper data

mod: load more pm

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-23 10:42:47 +08:00
parent 2f5a3d66fc
commit e212144250
5 changed files with 36 additions and 9 deletions

View File

@@ -130,7 +130,12 @@ class _WhisperDetailPageState
reverse: true,
itemCount: loadingState.response!.length,
padding: const EdgeInsets.only(bottom: 12),
physics: const AlwaysScrollableScrollPhysics(),
controller: _whisperDetailController.scrollController,
itemBuilder: (context, int index) {
if (index == loadingState.response!.length - 1) {
_whisperDetailController.onLoadMore();
}
final item = loadingState.response![index];
return ChatItem(
item: item,