mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -434,19 +434,21 @@ class _VideoReplyReplyPanelState
|
|||||||
|
|
||||||
Widget _buildBody(LoadingState loadingState, int index) {
|
Widget _buildBody(LoadingState loadingState, int index) {
|
||||||
return switch (loadingState) {
|
return switch (loadingState) {
|
||||||
Loading() => CustomScrollView(
|
Loading() => IgnorePointer(
|
||||||
shrinkWrap: true,
|
child: CustomScrollView(
|
||||||
physics: const NeverScrollableScrollPhysics(),
|
shrinkWrap: true,
|
||||||
slivers: [
|
physics: const NeverScrollableScrollPhysics(),
|
||||||
SliverList(
|
slivers: [
|
||||||
delegate: SliverChildBuilderDelegate(
|
SliverList(
|
||||||
(BuildContext context, int index) {
|
delegate: SliverChildBuilderDelegate(
|
||||||
return const VideoReplySkeleton();
|
(BuildContext context, int index) {
|
||||||
},
|
return const VideoReplySkeleton();
|
||||||
childCount: 8,
|
},
|
||||||
),
|
childCount: 8,
|
||||||
)
|
),
|
||||||
],
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
Success() => () {
|
Success() => () {
|
||||||
if (index == loadingState.response.length) {
|
if (index == loadingState.response.length) {
|
||||||
|
|||||||
Reference in New Issue
Block a user