Austin Huang
4 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with
4 additions and
1 deletions
-
app/src/main/java/awais/instagrabber/adapters/viewholder/NotificationViewHolder.java
|
@ -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); |
|
|