Browse Source

close #748

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
parent
commit
bd802a9759
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 2
      app/src/main/java/awais/instagrabber/fragments/PostViewV2Fragment.java

2
app/src/main/java/awais/instagrabber/fragments/PostViewV2Fragment.java

@ -817,7 +817,7 @@ public class PostViewV2Fragment extends SharedElementTransitionDialogFragment im
} }
private void setupCaption(final Caption caption) { private void setupCaption(final Caption caption) {
if (caption == null) {
if (caption == null || TextUtils.isEmpty(caption.getText())) {
binding.caption.setVisibility(View.GONE); binding.caption.setVisibility(View.GONE);
binding.translate.setVisibility(View.GONE); binding.translate.setVisibility(View.GONE);
binding.captionToggle.setVisibility(View.GONE); binding.captionToggle.setVisibility(View.GONE);

Loading…
Cancel
Save