Skip to content

Commit

Permalink
fix: NPE in ChatActivity
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao committed Oct 29, 2023
1 parent dc58cfa commit 03cf279
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9475,7 +9475,9 @@ public void setAlpha(float alpha) {
@Override
public void setVisibility(int visibility) {
super.setVisibility(visibility);
fragmentView.invalidate();
if (fragmentView != null) {
fragmentView.invalidate();
}
}
};
contentView.addView(blurredView, LayoutHelper.createFrame(LayoutHelper.MATCH_PARENT, LayoutHelper.MATCH_PARENT));
Expand Down

0 comments on commit 03cf279

Please sign in to comment.