1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-07 23:47:30 +00:00

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

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;
}