mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: parse whisper data
mod: load more pm Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user