diff --git a/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementToolFragment.java b/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementToolFragment.java index 78eeec4254..917707093c 100644 --- a/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementToolFragment.java +++ b/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementToolFragment.java @@ -1181,13 +1181,13 @@ public class MeasurementToolFragment extends BaseOsmAndFragment { } private void saveGpx(final File dir, - final String fileName, - final boolean showOnMap, - final GPXFile gpx, - final boolean openTrackActivity, - final NewGpxData.ActionType actionType, - final SaveType saveType, - final boolean close) { + final String fileName, + final boolean showOnMap, + final GPXFile gpx, + final boolean openTrackActivity, + final NewGpxData.ActionType actionType, + final SaveType saveType, + final boolean close) { new AsyncTask() { diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java index aaa32bb24e..46c840863f 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapInfoWidgetsFactory.java @@ -419,7 +419,6 @@ public class MapInfoWidgetsFactory { if (topBarSwitchVisible) { switchCompat.setChecked(topBarSwitchChecked); view.setTopBarSwitchTrackColor(switchCompat, topBarSwitchChecked); - } if (view.getShadowView() != null) { view.getShadowView().setVisibility(View.VISIBLE);