mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
fix: add safe area in home
This commit is contained in:
parent
956f4b198b
commit
9ee60677f6
@ -15,9 +15,12 @@ class HomePage extends HookConsumerWidget {
|
|||||||
Widget build(BuildContext context, ref) {
|
Widget build(BuildContext context, ref) {
|
||||||
final controller = useScrollController();
|
final controller = useScrollController();
|
||||||
|
|
||||||
return Scaffold(
|
return SafeArea(
|
||||||
appBar:
|
bottom: false,
|
||||||
DesktopTools.platform.isMobile ? null : const PageWindowTitleBar(),
|
child: Scaffold(
|
||||||
|
appBar: DesktopTools.platform.isMobile
|
||||||
|
? null
|
||||||
|
: const PageWindowTitleBar(),
|
||||||
body: CustomScrollView(
|
body: CustomScrollView(
|
||||||
controller: controller,
|
controller: controller,
|
||||||
slivers: [
|
slivers: [
|
||||||
@ -31,6 +34,6 @@ class HomePage extends HookConsumerWidget {
|
|||||||
const SliverSafeArea(sliver: HomeMadeForUserSection()),
|
const SliverSafeArea(sliver: HomeMadeForUserSection()),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user