Skip to content

Commit

Permalink
fix: check if view is not null
Browse files Browse the repository at this point in the history
  • Loading branch information
WoLewicki committed Nov 4, 2020
1 parent 818768d commit bc4d848
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public Animation onCreateAnimation(int transit, final boolean enter, int nextAni
}

private void notifyViewAppearTransitionEnd() {
ViewParent screenStack = getView().getParent();
ViewParent screenStack = getView() != null ? getView().getParent() : null;
if (screenStack instanceof ScreenStack) {
((ScreenStack) screenStack).onViewAppearTransitionEnd();
}
Expand Down

0 comments on commit bc4d848

Please sign in to comment.