mirror of
https://github.com/tuskyapp/Tusky
synced 2025-01-18 12:31:25 +01:00
fix crash in StatusBaseViewHolder
This commit is contained in:
parent
043ac58254
commit
98b652b7a1
@ -114,7 +114,7 @@ abstract class StatusBaseViewHolder extends RecyclerView.ViewHolder {
|
||||
}
|
||||
|
||||
void setAvatar(String url, @Nullable String rebloggedUrl) {
|
||||
if (url.isEmpty()) {
|
||||
if (TextUtils.isEmpty(url)) {
|
||||
avatar.setImageResource(R.drawable.avatar_default);
|
||||
} else {
|
||||
Picasso.with(avatar.getContext())
|
||||
|
Loading…
Reference in New Issue
Block a user