mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
Fixes pageview close button moving with pages
This commit is contained in:
parent
0c36eb1f8b
commit
bfab33f9d4
@ -222,7 +222,9 @@ class MemoryPage extends HookConsumerWidget {
|
||||
},
|
||||
),
|
||||
Expanded(
|
||||
child: PageView.builder(
|
||||
child: Stack(
|
||||
children: [
|
||||
PageView.builder(
|
||||
physics: const BouncingScrollPhysics(
|
||||
parent: AlwaysScrollableScrollPhysics(),
|
||||
),
|
||||
@ -232,9 +234,7 @@ class MemoryPage extends HookConsumerWidget {
|
||||
itemCount: memories[mIndex].assets.length,
|
||||
itemBuilder: (context, index) {
|
||||
final asset = memories[mIndex].assets[index];
|
||||
return Stack(
|
||||
children: [
|
||||
Container(
|
||||
return Container(
|
||||
color: Colors.black,
|
||||
child: MemoryCard(
|
||||
asset: asset,
|
||||
@ -242,6 +242,8 @@ class MemoryPage extends HookConsumerWidget {
|
||||
title: memories[mIndex].title,
|
||||
showTitle: index == 0,
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
Positioned(
|
||||
top: 8,
|
||||
@ -267,8 +269,6 @@ class MemoryPage extends HookConsumerWidget {
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
MemoryBottomInfo(memory: memories[mIndex]),
|
||||
|
Loading…
x
Reference in New Issue
Block a user