mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-25 10:38:40 +00:00
opt: safearea
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -75,24 +75,27 @@ class _SettingsSearchPageState extends State<SettingsSearchPage> {
|
||||
),
|
||||
),
|
||||
),
|
||||
body: Obx(
|
||||
() => _list.isEmpty
|
||||
? CustomScrollView(
|
||||
slivers: [HttpError()],
|
||||
)
|
||||
: CustomScrollView(
|
||||
slivers: [
|
||||
SliverWaterfallFlow.extent(
|
||||
maxCrossAxisExtent: Grid.smallCardWidth * 2,
|
||||
children: [
|
||||
..._list.map((item) => item.widget),
|
||||
SizedBox(
|
||||
height: MediaQuery.paddingOf(context).bottom + 80,
|
||||
body: SafeArea(
|
||||
bottom: false,
|
||||
child: CustomScrollView(
|
||||
slivers: [
|
||||
Obx(
|
||||
() => _list.isEmpty
|
||||
? HttpError()
|
||||
: SliverPadding(
|
||||
padding: EdgeInsets.only(
|
||||
bottom: MediaQuery.paddingOf(context).bottom + 80,
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
sliver: SliverWaterfallFlow.extent(
|
||||
maxCrossAxisExtent: Grid.smallCardWidth * 2,
|
||||
children: [
|
||||
..._list.map((item) => item.widget),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user