android: fix map buttons shown when going back from editor

Signed-off-by: Arnaud Vergnet <arnaud.vergnet@mailo.com>
This commit is contained in:
Arnaud Vergnet 2023-02-02 14:44:24 +01:00 committed by Alexander Borsuk
parent 6d75f4b92e
commit 01b4565d74

View file

@ -136,13 +136,6 @@ public class MapButtonsController extends Fragment
return mFrame;
}
@Override
public void onStart()
{
super.onStart();
showMapButtons(true);
}
public LayoutMode getLayoutMode()
{
return mLayoutMode;
@ -272,10 +265,7 @@ public class MapButtonsController extends Fragment
public void showMapButtons(boolean show)
{
if (show)
{
UiUtils.show(mFrame);
showButton(true, MapButtons.zoom);
}
else
UiUtils.hide(mFrame);
mOnBottomButtonsHeightChangedListener.OnBottomButtonsHeightChanged();