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) {
|
||||
final controller = useScrollController();
|
||||
|
||||
return Scaffold(
|
||||
appBar:
|
||||
DesktopTools.platform.isMobile ? null : const PageWindowTitleBar(),
|
||||
return SafeArea(
|
||||
bottom: false,
|
||||
child: Scaffold(
|
||||
appBar: DesktopTools.platform.isMobile
|
||||
? null
|
||||
: const PageWindowTitleBar(),
|
||||
body: CustomScrollView(
|
||||
controller: controller,
|
||||
slivers: [
|
||||
@ -31,6 +34,6 @@ class HomePage extends HookConsumerWidget {
|
||||
const SliverSafeArea(sliver: HomeMadeForUserSection()),
|
||||
],
|
||||
),
|
||||
);
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user