Skip to content

Commit

Permalink
Handle nullability of snackbarAttachView in ReaderPostListActivity
Browse files Browse the repository at this point in the history
  • Loading branch information
irfano committed Jun 21, 2024
1 parent 9a3067c commit e553392
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,11 @@ protected void onActivityResult(int requestCode, int resultCode, Intent data) {
return;
}

if (site != null && post != null) {
View snackbarAttachView = findViewById(R.id.coordinator);
if (site != null && post != null && snackbarAttachView != null) {
mUploadUtilsWrapper.handleEditPostResultSnackbars(
this,
findViewById(R.id.coordinator),
snackbarAttachView,
data,
post,
site,
Expand Down

0 comments on commit e553392

Please sign in to comment.