fix ghost location when tapping media twice

This commit is contained in:
Austin Huang 2021-03-21 21:42:52 -04:00
parent af3ec4ba26
commit 19dbdcb326
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with 1 additions and 1 deletions

View File

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