diff --git a/lib/pages/player/widgets/player_more_sheet.dart b/lib/pages/player/widgets/player_more_sheet.dart index 4f93858..18e9ad1 100644 --- a/lib/pages/player/widgets/player_more_sheet.dart +++ b/lib/pages/player/widgets/player_more_sheet.dart @@ -13,7 +13,7 @@ const double _groupRadius = 16; const double _rowHorizontalPadding = 14; const double _rowIconSize = 22; const double _rowIconGap = 14; -const double _rowLabelSize = 16; +const double _rowLabelSize = 15; const double _rowChevronGap = 10; const double _segmentTrackHeight = 34; const double _segmentHeight = 26; @@ -211,7 +211,7 @@ class _PlayerMoreSheetState extends State { style: const TextStyle( color: AppColors.onSurface, fontSize: _rowLabelSize, - fontWeight: FontWeight.w600, + fontWeight: FontWeight.w500, ), ), ), @@ -294,7 +294,7 @@ class _PlayerMoreSheetState extends State { style: const TextStyle( color: AppColors.onSurface, fontSize: _rowLabelSize, - fontWeight: FontWeight.w600, + fontWeight: FontWeight.w500, ), ), ), @@ -374,8 +374,8 @@ class _SegmentButton extends StatelessWidget { maxLines: 1, style: TextStyle( color: foreground, - fontSize: 14, - fontWeight: selected ? FontWeight.w700 : FontWeight.w500, + fontSize: 13, + fontWeight: selected ? FontWeight.w600 : FontWeight.w400, ), ), ), diff --git a/test/player/player_fullscreen_test.dart b/test/player/player_fullscreen_test.dart index 64c1ac7..518738e 100644 --- a/test/player/player_fullscreen_test.dart +++ b/test/player/player_fullscreen_test.dart @@ -894,7 +894,7 @@ void main() { ) .style ?.fontSize, - 14, + 13, ); await tester.ensureVisible(find.byKey(const Key('player-more-speed-1.5'))); await tester.pumpAndSettle(); @@ -910,7 +910,7 @@ void main() { ) .style ?.fontWeight, - FontWeight.w700, + FontWeight.w600, ); expect( tester @@ -922,7 +922,7 @@ void main() { ) .style ?.fontWeight, - FontWeight.w500, + FontWeight.w400, ); }); diff --git a/test/player/player_more_sheet_test.dart b/test/player/player_more_sheet_test.dart index 5159498..8bfd01a 100644 --- a/test/player/player_more_sheet_test.dart +++ b/test/player/player_more_sheet_test.dart @@ -63,8 +63,8 @@ void main() { ) .first, ); - expect(speedLabel.style?.fontSize, 16); - expect(speedLabel.style?.fontWeight, FontWeight.w600); + expect(speedLabel.style?.fontSize, 15); + expect(speedLabel.style?.fontWeight, FontWeight.w500); expect(tester.widget(find.byIcon(Icons.speed_outlined)).size, 22); expect(tester.widget(find.byIcon(Icons.fullscreen)).size, 22); @@ -86,7 +86,8 @@ void main() { ), ); expect(selectedText.style?.color, AppColors.onSurface); - expect(selectedText.style?.fontWeight, FontWeight.w700); + expect(selectedText.style?.fontSize, 13); + expect(selectedText.style?.fontWeight, FontWeight.w600); final unselected = tester.widget( find @@ -105,7 +106,8 @@ void main() { ), ); expect(unselectedText.style?.color, AppColors.muted); - expect(unselectedText.style?.fontWeight, FontWeight.w500); + expect(unselectedText.style?.fontSize, 13); + expect(unselectedText.style?.fontWeight, FontWeight.w400); final disabledText = tester.widget( find.descendant(