Fix MapRouteInfoMenuFragment crash

This commit is contained in:
Alexey Kulish 2017-05-30 16:04:47 +03:00
parent c61ff3bbf8
commit 554e7b0a52

View file

@ -81,12 +81,16 @@ public class MapRouteInfoMenuFragment extends Fragment {
}
public void updateInfo() {
menu.updateInfo(mainView);
if (menu != null) {
menu.updateInfo(mainView);
}
applyDayNightMode();
}
public void updateFromIcon() {
menu.updateFromIcon(mainView);
if (menu != null) {
menu.updateFromIcon(mainView);
}
}
public void show(MapActivity mapActivity) {