Remove duplicate code

This commit is contained in:
Alexey Pelykh 2014-12-15 18:33:54 +02:00
parent 56cda6025c
commit 626246239e

View file

@ -408,8 +408,6 @@ public class MapRoutePreferencesControl extends MapControls {
@Override @Override
public void hideControls(FrameLayout layout) { public void hideControls(FrameLayout layout) {
removeButton(layout, settingsAppModeButton); removeButton(layout, settingsAppModeButton);
layout.removeView(settingsAppModeButton);
mapActivity.accessibleContent.remove(settingsAppModeButton);
} }
@Override @Override