Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-13 22:08:06 +08:00
parent d6f238c720
commit 28ef1890d1

View File

@@ -434,19 +434,21 @@ class _VideoReplyReplyPanelState
Widget _buildBody(LoadingState loadingState, int index) {
return switch (loadingState) {
Loading() => CustomScrollView(
shrinkWrap: true,
physics: const NeverScrollableScrollPhysics(),
slivers: [
SliverList(
delegate: SliverChildBuilderDelegate(
(BuildContext context, int index) {
return const VideoReplySkeleton();
},
childCount: 8,
),
)
],
Loading() => IgnorePointer(
child: CustomScrollView(
shrinkWrap: true,
physics: const NeverScrollableScrollPhysics(),
slivers: [
SliverList(
delegate: SliverChildBuilderDelegate(
(BuildContext context, int index) {
return const VideoReplySkeleton();
},
childCount: 8,
),
)
],
),
),
Success() => () {
if (index == loadingState.response.length) {