mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 14:47:29 +00:00
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());
|
||||
});
|
||||
|
||||
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…
Reference in New Issue
Block a user