Skip to content

Commit

Permalink
fix/wrong-navigator-used: _onBackPressed use the wrong navigator. (#233)
Browse files Browse the repository at this point in the history
* fix/wrong-navigator-used: Should use current navigator else when using custom it will pop the wrong page

* fix dialog context
  • Loading branch information
EArminjon authored Sep 29, 2024
1 parent 0f3d2c5 commit 1dc7382
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class _AliceCallsListPageState extends State<AliceCallsListPage>
/// Called when back button has been pressed. It navigates back to original
/// application.
void _onBackPressed() {
Navigator.of(context, rootNavigator: true).pop();
Navigator.of(context).pop();
}

/// Called when clear logs has been pressed. It displays dialog and awaits for
Expand Down

0 comments on commit 1dc7382

Please sign in to comment.