fix(server): stack info in asset response for mobile (#7346)

* fix(server): stack info in asset response for mobile

* fix(server): getAllAssets - do not filter by stack ID

* tet(server): GET /assets stack e2e

* chore(server): fix checks

* stack asset height

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
Alex 2024-03-05 23:44:56 -06:00 committed by GitHub
parent 4c0bb2308c
commit 52dfe5fc92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 37 additions and 24 deletions

View file

@ -218,18 +218,19 @@ class GalleryViewerPage extends HookConsumerWidget {
scrollDirection: Axis.horizontal,
itemCount: stackElements.length,
padding: const EdgeInsets.only(
left: 10,
right: 10,
left: 5,
right: 5,
bottom: 30,
),
itemBuilder: (context, index) {
final assetId = stackElements.elementAt(index).remoteId;
return Padding(
padding: const EdgeInsets.only(right: 10),
padding: const EdgeInsets.only(right: 5),
child: GestureDetector(
onTap: () => stackIndex.value = index,
child: Container(
width: 40,
width: 60,
height: 60,
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(6),
@ -391,7 +392,7 @@ class GalleryViewerPage extends HookConsumerWidget {
Visibility(
visible: stack.isNotEmpty,
child: SizedBox(
height: 40,
height: 80,
child: buildStackedChildren(),
),
),