opt scroll physics

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-06-20 13:31:28 +08:00
parent 452b54d124
commit 480bdffdaa
59 changed files with 210 additions and 195 deletions

View File

@@ -60,15 +60,13 @@ class _LiveSearchChildPageState extends State<LiveSearchChildPage>
Widget get _buildLoading {
return switch (widget.searchType) {
.room => SliverGrid.builder(
.room => SliverGrid(
gridDelegate: roomDelegate,
itemBuilder: (context, index) => const VideoCardVSkeleton(),
itemCount: 10,
delegate: videoVDelegate,
),
.user => SliverGrid.builder(
.user => SliverGrid(
gridDelegate: userDelegate,
itemBuilder: (context, index) => const MsgFeedTopSkeleton(),
itemCount: 12,
delegate: sysFeedDelegate,
),
};
}