opt: func

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-07 13:07:15 +08:00
parent 6353ecc13e
commit 286193f08f
99 changed files with 204 additions and 270 deletions

View File

@@ -45,9 +45,7 @@ class _WhisperPageState extends State<WhisperPage> {
],
),
body: refreshIndicator(
onRefresh: () async {
await _whisperController.onRefresh();
},
onRefresh: _whisperController.onRefresh,
child: CustomScrollView(
physics: const AlwaysScrollableScrollPhysics(),
slivers: [