remove safe area for better ui

This commit is contained in:
Alex Tran 2022-02-03 22:18:21 -06:00
parent 13525d2330
commit da4fd201ad
2 changed files with 23 additions and 21 deletions

View File

@ -100,7 +100,7 @@ class ImmichSliverAppBar extends ConsumerWidget {
], ],
), ),
], ],
systemOverlayStyle: SystemUiOverlayStyle.dark, systemOverlayStyle: SystemUiOverlayStyle.light,
), ),
); );
} }

View File

@ -104,7 +104,8 @@ class HomePage extends HookConsumerWidget {
} }
} }
return DraggableScrollbar.semicircle( return SafeArea(
child: DraggableScrollbar.semicircle(
// labelTextBuilder: (offset) { // labelTextBuilder: (offset) {
// final int currentItem = _scrollController.hasClients // final int currentItem = _scrollController.hasClients
// ? (_scrollController.offset / _scrollController.position.maxScrollExtent * imageGridGroup.length) // ? (_scrollController.offset / _scrollController.position.maxScrollExtent * imageGridGroup.length)
@ -129,6 +130,7 @@ class HomePage extends HookConsumerWidget {
...imageGridGroup, ...imageGridGroup,
], ],
), ),
),
); );
} }