Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
weikaiyun committed Jan 20, 2021
1 parent 2bfffd5 commit d327757
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ private void doPopTo(final String targetFragmentTag, boolean includeTargetFragme

ft.remove(top);

if (includeTargetFragment && preFragment != null) {
if (includeTargetFragment) {
ft.show(preFragment);
ft.setMaxLifecycle(preFragment, Lifecycle.State.RESUMED);
} else {
Expand Down

0 comments on commit d327757

Please sign in to comment.