removed two calls to runLayoutListener

This commit is contained in:
Chumva 2018-05-30 15:28:52 +03:00
parent 7d2fdd3e4a
commit 0ccc10ebf1

View file

@ -1529,7 +1529,6 @@ public class MapContextMenuFragment extends BaseOsmAndFragment implements Downlo
view.findViewById(R.id.additional_info_row_container).setVisibility(View.VISIBLE);
view.findViewById(R.id.additional_info_row).setVisibility(View.VISIBLE);
}
runLayoutListener();
}
private void updateDistanceDirection() {
@ -1913,6 +1912,7 @@ public class MapContextMenuFragment extends BaseOsmAndFragment implements Downlo
private void doAfterMenuStateChange(int previousState, int newState) {
updateCompassVisibility();
updateAdditionalInfoVisibility();
runLayoutListener();
}
}