Skip to content

Commit

Permalink
Add null check on show()
Browse files Browse the repository at this point in the history
Adding a null check on show() in DevLoadingModule which seems to have been missed.
  • Loading branch information
garvsgit committed May 28, 2024
1 parent 68d4abf commit c370ea9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ public void showMessage(final String message, final Double color, final Double b
new Runnable() {
@Override
public void run() {
mDevLoadingViewManager.showMessage(message);
if (mDevLoadingViewManager != null) {
mDevLoadingViewManager.showMessage(message);
}
}
});
}
Expand Down

0 comments on commit c370ea9

Please sign in to comment.