Browse Source

fix ghost location when tapping media twice

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
parent
commit
19dbdcb326
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

@ -925,7 +925,7 @@ public class PostViewV2Fragment extends SharedElementTransitionDialogFragment im
} }
private void setupLocation(final Location location) { private void setupLocation(final Location location) {
if (location == null) {
if (location == null || !detailsVisible) {
binding.location.setVisibility(View.GONE); binding.location.setVisibility(View.GONE);
return; return;
} }

Loading…
Cancel
Save