Skip to content

Commit

Permalink
fix: fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
goweii committed Feb 10, 2022
1 parent b8f819d commit 862ab2d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ private void addNode(@NonNull Activity activity) {
SwipeBackNode node = mNodes.get(i);
if (node.getActivity() == activity) {
return;
} if (node.getActivity().getComponentName() == activity.getComponentName()) {
}
if (node.getActivity().getComponentName() == activity.getComponentName()) {
index = i;
break;
}
Expand Down

0 comments on commit 862ab2d

Please sign in to comment.