Fix showing size after progress downloading

This commit is contained in:
PavelRatushny 2017-12-29 14:08:32 +02:00
parent ab81309e18
commit 89894b95e4

View file

@ -1492,7 +1492,7 @@ public class MapContextMenuFragment extends BaseOsmAndFragment implements Downlo
boolean progressVisible = menu.getTitleProgressController() != null && menu.getTitleProgressController().visible; boolean progressVisible = menu.getTitleProgressController() != null && menu.getTitleProgressController().visible;
updateButtonsAndProgress(); updateButtonsAndProgress();
if (wasProgressVisible != progressVisible) { if (wasProgressVisible != progressVisible) {
runLayoutListener(); refreshTitle();
} }
} }
} }