oops
This commit is contained in:
parent
3acc29c48a
commit
12299a5d26
@ -79,7 +79,10 @@ public final class NotificationViewHolder extends RecyclerView.ViewHolder {
|
|||||||
notificationClickListener.onProfileClick(model.getUsername());
|
notificationClickListener.onProfileClick(model.getUsername());
|
||||||
});
|
});
|
||||||
|
|
||||||
if (TextUtils.isEmpty(model.getPreviewPic())) {
|
if (model.getType() == NotificationType.AYML) {
|
||||||
|
binding.ivPreviewPic.setVisibility(View.GONE);
|
||||||
|
}
|
||||||
|
else if (TextUtils.isEmpty(model.getPreviewPic())) {
|
||||||
binding.ivPreviewPic.setVisibility(View.INVISIBLE);
|
binding.ivPreviewPic.setVisibility(View.INVISIBLE);
|
||||||
} else {
|
} else {
|
||||||
binding.ivPreviewPic.setVisibility(View.VISIBLE);
|
binding.ivPreviewPic.setVisibility(View.VISIBLE);
|
||||||
|
Loading…
Reference in New Issue
Block a user