Fix method call

This commit is contained in:
Alexander Sytnyk 2017-11-01 17:53:27 +02:00
parent d7a7b9aa29
commit e0b2ec9bee

View file

@ -682,9 +682,9 @@ public class MapControlsLayer extends OsmandMapLayer {
return;
}
if (isMapControlsVisible()) {
AndroidUtils.hideSystemUI(mapActivity);
hideMapControls();
if (switchSystemUiVisibility) {
hideMapControls();
AndroidUtils.hideSystemUI(mapActivity);
}
} else {
showMapControls();