mirror of
https://github.com/immich-app/immich.git
synced 2024-12-26 10:50:29 +02:00
fixes safe area issue with multiselect and adds overscroll on main timeline to select bottom (#1718)
This commit is contained in:
parent
b37162099e
commit
6e4ba6184b
@ -189,6 +189,9 @@ class ImmichAssetGridState extends State<ImmichAssetGrid> {
|
||||
}
|
||||
|
||||
final listWidget = ScrollablePositionedList.builder(
|
||||
padding: const EdgeInsets.only(
|
||||
bottom: 220,
|
||||
),
|
||||
itemBuilder: _itemBuilder,
|
||||
itemPositionsListener: _itemPositionsListener,
|
||||
itemScrollController: _itemScrollController,
|
||||
|
@ -216,7 +216,6 @@ class HomePage extends HookConsumerWidget {
|
||||
}
|
||||
|
||||
return SafeArea(
|
||||
bottom: !multiselectEnabled.state,
|
||||
top: true,
|
||||
child: Stack(
|
||||
children: [
|
||||
@ -234,7 +233,9 @@ class HomePage extends HookConsumerWidget {
|
||||
selectionActive: selectionEnabledHook.value,
|
||||
),
|
||||
if (selectionEnabledHook.value)
|
||||
ControlBottomAppBar(
|
||||
SafeArea(
|
||||
bottom: true,
|
||||
child: ControlBottomAppBar(
|
||||
onShare: onShareAssets,
|
||||
onFavorite: onFavoriteAssets,
|
||||
onDelete: onDelete,
|
||||
@ -243,15 +244,14 @@ class HomePage extends HookConsumerWidget {
|
||||
sharedAlbums: sharedAlbums,
|
||||
onCreateNewAlbum: onCreateNewAlbum,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
return Scaffold(
|
||||
appBar: multiselectEnabled.state
|
||||
? null
|
||||
: HomePageAppBar(
|
||||
appBar: HomePageAppBar(
|
||||
onPopBack: reloadAllAsset,
|
||||
),
|
||||
drawer: const ProfileDrawer(),
|
||||
|
Loading…
Reference in New Issue
Block a user