Skip to content

Commit

Permalink
DevtoolsToggleButton and ServiceExtensionButton have same text color
Browse files Browse the repository at this point in the history
  • Loading branch information
elliette committed Sep 30, 2024
1 parent 89e6c7e commit d09ae84
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/devtools_app_shared/lib/src/ui/buttons.dart
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,10 @@ final class DevToolsToggleButton extends StatelessWidget {
message: message,
child: Container(
padding: const EdgeInsets.symmetric(horizontal: denseSpacing),
child: MaterialIconLabel(
iconData: icon,
label: label,
minScreenWidthForTextBeforeScaling:
minScreenWidthForTextBeforeScaling,
child: ImageIconLabel(
Icon(icon, size: defaultIconSize),
label ?? '',
unscaledMinIncludeTextWidth: minScreenWidthForTextBeforeScaling,
),
),
),
Expand Down

0 comments on commit d09ae84

Please sign in to comment.