Skip to content

Commit

Permalink
chore: Add simple comment on navigation bug fix. #275
Browse files Browse the repository at this point in the history
  • Loading branch information
LuchoTurtle committed Oct 4, 2023
1 parent 8c30437 commit 9cd36aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/presentation/widgets/navbar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class NavBar extends StatelessWidget implements PreferredSizeWidget {
children: [
GestureDetector(
onTap: () {
// https://stackoverflow.com/questions/53723294/flutter-navigator-popcontext-returning-a-black-screen
Navigator.of(givenContext).maybePop();
},
child:
Expand Down

0 comments on commit 9cd36aa

Please sign in to comment.