Skip to content

Commit

Permalink
Restore notification icon button default colors
Browse files Browse the repository at this point in the history
  • Loading branch information
veloce committed Jan 31, 2025
1 parent 61c82fa commit 4ebb5f2
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions lib/src/widgets/buttons.dart
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,7 @@ class AppBarNotificationIconButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
return AppBarIconButton(
icon: Badge.count(
backgroundColor: ColorScheme.of(context).tertiary,
textStyle: TextStyle(
color: ColorScheme.of(context).onTertiary,
fontWeight: FontWeight.bold,
),
count: count,
isLabelVisible: count > 0,
child: icon,
),
icon: Badge.count(count: count, isLabelVisible: count > 0, child: icon),
onPressed: onPressed,
semanticsLabel: semanticsLabel,
);
Expand Down

0 comments on commit 4ebb5f2

Please sign in to comment.