From 626246239e4276ac1ca2f45605f5ccce2daba0f1 Mon Sep 17 00:00:00 2001 From: Alexey Pelykh Date: Mon, 15 Dec 2014 18:33:54 +0200 Subject: [PATCH] Remove duplicate code --- .../osmand/plus/views/controls/MapRoutePreferencesControl.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/controls/MapRoutePreferencesControl.java b/OsmAnd/src/net/osmand/plus/views/controls/MapRoutePreferencesControl.java index 01889f1bec..1ce15279e3 100644 --- a/OsmAnd/src/net/osmand/plus/views/controls/MapRoutePreferencesControl.java +++ b/OsmAnd/src/net/osmand/plus/views/controls/MapRoutePreferencesControl.java @@ -408,8 +408,6 @@ public class MapRoutePreferencesControl extends MapControls { @Override public void hideControls(FrameLayout layout) { removeButton(layout, settingsAppModeButton); - layout.removeView(settingsAppModeButton); - mapActivity.accessibleContent.remove(settingsAppModeButton); } @Override