immediate pop removed

This commit is contained in:
Gavriil Sitnikov 2016-03-28 11:01:16 +03:00
parent 3bb740d3cd
commit b56206f7df
1 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ public class FragmentNavigation {
}
}
if (id != null) {
fragmentManager.popBackStackImmediate(id, 0);
fragmentManager.popBackStack(id, 0);
return true;
}
return false;
@ -230,7 +230,7 @@ public class FragmentNavigation {
}
if (fragmentManager.getBackStackEntryCount() > 0) {
fragmentManager.popBackStackImmediate(null, FragmentManager.POP_BACK_STACK_INCLUSIVE);
fragmentManager.popBackStack(null, FragmentManager.POP_BACK_STACK_INCLUSIVE);
}
}