mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00: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
2 changed files with 17 additions and 14 deletions
|
|
@ -216,7 +216,6 @@ class HomePage extends HookConsumerWidget {
|
|||
}
|
||||
|
||||
return SafeArea(
|
||||
bottom: !multiselectEnabled.state,
|
||||
top: true,
|
||||
child: Stack(
|
||||
children: [
|
||||
|
|
@ -234,14 +233,17 @@ class HomePage extends HookConsumerWidget {
|
|||
selectionActive: selectionEnabledHook.value,
|
||||
),
|
||||
if (selectionEnabledHook.value)
|
||||
ControlBottomAppBar(
|
||||
onShare: onShareAssets,
|
||||
onFavorite: onFavoriteAssets,
|
||||
onDelete: onDelete,
|
||||
onAddToAlbum: onAddToAlbum,
|
||||
albums: albums,
|
||||
sharedAlbums: sharedAlbums,
|
||||
onCreateNewAlbum: onCreateNewAlbum,
|
||||
SafeArea(
|
||||
bottom: true,
|
||||
child: ControlBottomAppBar(
|
||||
onShare: onShareAssets,
|
||||
onFavorite: onFavoriteAssets,
|
||||
onDelete: onDelete,
|
||||
onAddToAlbum: onAddToAlbum,
|
||||
albums: albums,
|
||||
sharedAlbums: sharedAlbums,
|
||||
onCreateNewAlbum: onCreateNewAlbum,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
@ -249,11 +251,9 @@ class HomePage extends HookConsumerWidget {
|
|||
}
|
||||
|
||||
return Scaffold(
|
||||
appBar: multiselectEnabled.state
|
||||
? null
|
||||
: HomePageAppBar(
|
||||
onPopBack: reloadAllAsset,
|
||||
),
|
||||
appBar: HomePageAppBar(
|
||||
onPopBack: reloadAllAsset,
|
||||
),
|
||||
drawer: const ProfileDrawer(),
|
||||
body: buildBody(),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue