Skip to content

Commit

Permalink
fix: hopefully this addresses a crash when opening an unsent post wit…
Browse files Browse the repository at this point in the history
…h an audio file (again)

Crash fix hopefully
  • Loading branch information
LucasGGamerM committed Dec 17, 2023
1 parent 08d4c13 commit 5cc94fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public AudioStatusDisplayItem(String parentID, BaseStatusListFragment parentFrag
super(parentID, parentFragment);
this.status=status;
this.attachment=attachment;
imageRequest=new UrlImageLoaderRequest(TextUtils.isEmpty(attachment.previewUrl) ? (status.account.avatarStatic != null ? status.account.avatarStatic : "") : attachment.previewUrl, V.dp(100), V.dp(100));
imageRequest=new UrlImageLoaderRequest(TextUtils.isEmpty(attachment.previewUrl) ? (status.account != null ? status.account.avatarStatic : "") : attachment.previewUrl, V.dp(100), V.dp(100));
}

@Override
Expand Down

0 comments on commit 5cc94fa

Please sign in to comment.