Skip to content

Commit 45950ed

Browse files
committed
🐛 Allow indicator's color changed with bodyText1.
Related to #32 .
1 parent 4a76fd9 commit 45950ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/src/widget/asset_picker.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,9 @@ class AssetPicker extends StatelessWidget {
729729
: Text(
730730
'${selectedAssets.indexOf(asset) + 1}',
731731
style: TextStyle(
732+
color: selected
733+
? theme.textTheme.bodyText1.color
734+
: null,
732735
fontSize: isAppleOS ? 16.0 : 14.0,
733736
fontWeight:
734737
isAppleOS ? FontWeight.w600 : FontWeight.bold,

0 commit comments

Comments
 (0)