Skip to content

Commit 77d86b5

Browse files
committed
💄 Align count indicator properly
1 parent e26e46b commit 77d86b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/src/delegates/asset_picker_builder_delegate.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,7 @@ class DefaultAssetPickerBuilderDelegate
16241624
},
16251625
child: Container(
16261626
margin: EdgeInsets.all(
1627-
context.mediaQuery.size.width / gridCount / (isAppleOS ? 12 : 15),
1627+
context.mediaQuery.size.width / gridCount / 12,
16281628
),
16291629
width: isPreviewEnabled ? indicatorSize : null,
16301630
height: isPreviewEnabled ? indicatorSize : null,
@@ -1723,6 +1723,7 @@ class DefaultAssetPickerBuilderDelegate
17231723
color: theme.textTheme.bodyText1?.color
17241724
?.withOpacity(.75),
17251725
fontWeight: FontWeight.w600,
1726+
height: 1,
17261727
),
17271728
),
17281729
)

0 commit comments

Comments
 (0)