diff --git a/twidere/src/main/java/org/mariotaku/twidere/view/holder/StatusViewHolder.java b/twidere/src/main/java/org/mariotaku/twidere/view/holder/StatusViewHolder.java index 971eeff36..db5f0d315 100644 --- a/twidere/src/main/java/org/mariotaku/twidere/view/holder/StatusViewHolder.java +++ b/twidere/src/main/java/org/mariotaku/twidere/view/holder/StatusViewHolder.java @@ -126,6 +126,8 @@ public class StatusViewHolder extends ViewHolder implements Constants, IStatusVi if (statusInfoSpace != null) { statusInfoSpace.setVisibility(adapter.isProfileImageEnabled() ? View.VISIBLE : View.GONE); } + + profileImageView.setImageResource(R.mipmap.ic_launcher); nameView.setName(TWIDERE_PREVIEW_NAME); nameView.setScreenName("@" + TWIDERE_PREVIEW_SCREEN_NAME); @@ -146,9 +148,13 @@ public class StatusViewHolder extends ViewHolder implements Constants, IStatusVi if (adapter.isMediaPreviewEnabled()) { mediaPreview.setVisibility(View.VISIBLE); statusContentSpace.setVisibility(showCardActions ? View.VISIBLE : View.GONE); + actionButtons.setVisibility(showCardActions ? View.VISIBLE : View.GONE); + itemMenu.setVisibility(showCardActions ? View.VISIBLE : View.GONE); } else { mediaPreview.setVisibility(View.GONE); statusContentSpace.setVisibility(showCardActions ? View.GONE : View.VISIBLE); + actionButtons.setVisibility(showCardActions ? View.VISIBLE : View.GONE); + itemMenu.setVisibility(showCardActions ? View.VISIBLE : View.GONE); } mediaPreview.displayMedia(R.drawable.nyan_stars_background); extraTypeView.setImageResource(R.drawable.ic_action_gallery);