Skip to content

Commit

Permalink
Fix navigation back on phones
Browse files Browse the repository at this point in the history
  • Loading branch information
samiuelson committed Feb 23, 2024
1 parent 1dc0d4e commit b6a06a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class OrderListFragment :
// In this case we need to switch panes – show the list pane instead of details pane.
adjustUiForDeviceType(savedInstanceState)
} else {
requireActivity().onBackPressedDispatcher.onBackPressed()
findNavController().popBackStack()
}
}
}
Expand Down

0 comments on commit b6a06a4

Please sign in to comment.