fix(mobile): first stack list asset is now highlighted on view (#4802)

This commit is contained in:
doggo authored and GitHub committed 2023-11-03 20:43:43 -05:00
1 parent 2e424fe249
commit de29480dda
1 file changed
+2 -1
@@ -443,7 +443,8 @@ class GalleryViewerPage extends HookConsumerWidget {
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(6),
border: index == stackIndex.value
border: (stackIndex.value == -1 && index == 0) ||
index == stackIndex.value
? Border.all(
color: Colors.white,
width: 2,