Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-30 14:50:54 +08:00
parent 80fa0240e9
commit 8d94c0405f
115 changed files with 3150 additions and 1438 deletions

View File

@@ -92,24 +92,19 @@ class _SettingsSearchPageState
body: CustomScrollView(
slivers: [
ViewSliverSafeArea(
sliver: MediaQuery.removeViewPadding(
context: context,
removeLeft: true,
removeRight: true,
child: Obx(
() => _list.isEmpty
? const HttpError()
: SliverWaterfallFlow(
gridDelegate:
SliverWaterfallFlowDelegateWithMaxCrossAxisExtent(
maxCrossAxisExtent: Grid.smallCardWidth * 2,
),
delegate: SliverChildBuilderDelegate(
(_, index) => _list[index].widget,
childCount: _list.length,
),
sliver: Obx(
() => _list.isEmpty
? const HttpError()
: SliverWaterfallFlow(
gridDelegate:
SliverWaterfallFlowDelegateWithMaxCrossAxisExtent(
maxCrossAxisExtent: Grid.smallCardWidth * 2,
),
delegate: SliverChildBuilderDelegate(
(_, index) => _list[index].widget,
childCount: _list.length,
),
),
),
),
),
],