Plan route: Hide Widgets. Show: Compass, configure map, search

This commit is contained in:
androiddevkotlin 2021-04-08 14:03:52 +03:00
parent acff47bf8a
commit 01eb699e3b

View file

@ -104,7 +104,6 @@ public class WidgetsVisibilityHelper {
public boolean shouldHideCompass() { public boolean shouldHideCompass() {
return mapActivity.shouldHideTopControls() return mapActivity.shouldHideTopControls()
|| isTrackDetailsMenuOpened() || isTrackDetailsMenuOpened()
|| isInMeasurementToolMode()
|| isInPlanRouteMode() || isInPlanRouteMode()
|| isInChoosingRoutesMode() || isInChoosingRoutesMode()
|| isInTrackAppearanceMode() || isInTrackAppearanceMode()
@ -116,7 +115,6 @@ public class WidgetsVisibilityHelper {
public boolean shouldShowTopButtons() { public boolean shouldShowTopButtons() {
return !mapActivity.shouldHideTopControls() return !mapActivity.shouldHideTopControls()
&& !isTrackDetailsMenuOpened() && !isTrackDetailsMenuOpened()
&& !isInMeasurementToolMode()
&& !isInPlanRouteMode() && !isInPlanRouteMode()
&& !isInChoosingRoutesMode() && !isInChoosingRoutesMode()
&& !isInTrackAppearanceMode() && !isInTrackAppearanceMode()