Skip to content

Commit

Permalink
Increase DiagnosticLevelSelector's tap target
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasWanke committed Jan 24, 2023
1 parent bdfb520 commit 70b3f22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/src/utils/level_selector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class DiagnosticLevelSelector extends StatelessWidget {

@override
Widget build(BuildContext context) {
return PopupMenuButton<DiagnosticLevel>(
return PopupMenuButton(
initialValue: value,
tooltip: 'Select the minimum diagnostics level to display',
onSelected: onSelected,
Expand All @@ -23,7 +23,6 @@ class DiagnosticLevelSelector extends StatelessWidget {
child: Text(describeEnum(level)),
),
],
child: Icon(levelToIcon(value)),
);
}

Expand Down

0 comments on commit 70b3f22

Please sign in to comment.