mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-11-20 21:06:32 +00:00
oops
This commit is contained in:
parent
3acc29c48a
commit
12299a5d26
1 changed files with 4 additions and 1 deletions
|
|
@ -79,7 +79,10 @@ public final class NotificationViewHolder extends RecyclerView.ViewHolder {
|
|||
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);
|
||||
} else {
|
||||
binding.ivPreviewPic.setVisibility(View.VISIBLE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue