Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-16 10:52:39 +08:00
parent 2090fd2312
commit 55733d30c5
86 changed files with 1359 additions and 1740 deletions

View File

@@ -100,9 +100,7 @@ class _WhisperPageState extends State<WhisperPage> {
return switch (loadingState) {
Loading() => SliverList.builder(
itemCount: 12,
itemBuilder: (context, index) {
return const WhisperItemSkeleton();
},
itemBuilder: (context, index) => const WhisperItemSkeleton(),
),
Success(:var response) =>
response?.isNotEmpty == true
@@ -125,9 +123,7 @@ class _WhisperPageState extends State<WhisperPage> {
},
separatorBuilder: (context, index) => divider,
)
: HttpError(
onReload: _controller.onReload,
),
: HttpError(onReload: _controller.onReload),
Error(:var errMsg) => HttpError(
errMsg: errMsg,
onReload: _controller.onReload,