Skip to content

Commit

Permalink
fix(-sdk): Fix back navigation in review fragment
Browse files Browse the repository at this point in the history
BSDK-258
  • Loading branch information
abolfazlimahdi committed Jan 23, 2024
1 parent 03aa792 commit 8482e8c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ public void onCreate(final Bundle savedInstanceState) {
@Override
public void handleOnBackPressed() {
trackReviewScreenEvent(ReviewScreenEvent.BACK);
NavHostFragment.findNavController(MultiPageReviewFragment.this).navigate(MultiPageReviewFragmentDirections.toCameraFragmentForFirstPage());
}
};
requireActivity().getOnBackPressedDispatcher().addCallback(this, callback);
Expand Down

0 comments on commit 8482e8c

Please sign in to comment.