fix crash in StatusBaseViewHolder
This commit is contained in:
parent
043ac58254
commit
98b652b7a1
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue