mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 03:46:47 +01:00
fix(mobile): first stack list asset is now highlighted on view (#4802)
This commit is contained in:
parent
2e424fe249
commit
de29480dda
1 changed files with 2 additions and 1 deletions
|
@ -443,7 +443,8 @@ class GalleryViewerPage extends HookConsumerWidget {
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
borderRadius: BorderRadius.circular(6),
|
borderRadius: BorderRadius.circular(6),
|
||||||
border: index == stackIndex.value
|
border: (stackIndex.value == -1 && index == 0) ||
|
||||||
|
index == stackIndex.value
|
||||||
? Border.all(
|
? Border.all(
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
width: 2,
|
width: 2,
|
||||||
|
|
Loading…
Reference in a new issue