opt: pages

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-02 20:34:05 +08:00
parent f1a10a786d
commit 621239551f
22 changed files with 227 additions and 191 deletions

View File

@@ -71,8 +71,10 @@ class _WhisperPageState extends State<WhisperPage> {
),
body: refreshIndicator(
onRefresh: () async {
await _whisperController.queryMsgFeedUnread();
await _whisperController.onRefresh();
await Future.wait([
_whisperController.queryMsgFeedUnread(),
_whisperController.onRefresh(),
]);
},
child: SingleChildScrollView(
controller: _scrollController,