Skip to content

Commit

Permalink
Update Navigator pop
Browse files Browse the repository at this point in the history
  • Loading branch information
TahaTesser committed Oct 3, 2024
1 parent 15526d6 commit 4a44177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/buttons/pulldown_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class _MacosPulldownMenuItemButtonState
final MacosPulldownMenuEntry menuEntity =
widget.route.items[widget.itemIndex].item!;
if (menuEntity is MacosPulldownMenuItem) {
Navigator.pop(context);
Navigator.of(context).pop();
menuEntity.onTap?.call();
}
}
Expand Down

0 comments on commit 4a44177

Please sign in to comment.