fix: hopefully this addresses a crash when opening an unsent post with an audio file (again)

Crash fix hopefully
This commit is contained in:
LucasGGamerM 2023-12-17 17:20:36 -03:00
parent 08d4c135ea
commit 5cc94fa2b0
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ public class AudioStatusDisplayItem extends StatusDisplayItem{
super(parentID, parentFragment); super(parentID, parentFragment);
this.status=status; this.status=status;
this.attachment=attachment; 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 @Override