Skip to content

Commit

Permalink
Fix a crash that occurs when navigating back from the people screen
Browse files Browse the repository at this point in the history
  • Loading branch information
irfano committed May 16, 2024
1 parent bafd3c3 commit cb17fca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ private void refreshDetailFragment() {

private boolean navigateBackToPeopleListFragment() {
FragmentManager fragmentManager = getSupportFragmentManager();
if (fragmentManager.getBackStackEntryCount() > 0) {
if (!fragmentManager.isStateSaved() && fragmentManager.getBackStackEntryCount() > 0) {
fragmentManager.popBackStack();

ActionBar actionBar = getSupportActionBar();
Expand Down

0 comments on commit cb17fca

Please sign in to comment.