Skip to content

Commit

Permalink
Add null check
Browse files Browse the repository at this point in the history
  • Loading branch information
aditi-bhatia committed May 17, 2024
1 parent f83cca4 commit 97fda0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,7 @@ private void initBloggingReminders() {
}

private void setupBloggingRemindersBottomSheet() {
if (mBloggingRemindersPref == null || !isAdded()) {
if (mBloggingRemindersPref == null || !isAdded() || mSite == null) {
return;
}
mBloggingRemindersViewModel.onBlogSettingsItemClicked(mSite.getId());
Expand Down

0 comments on commit 97fda0b

Please sign in to comment.