Fix MapRouteInfoMenuFragment crash

This commit is contained in:
Alexey Kulish 2017-05-30 16:04:47 +03:00
parent 9444ce255b
commit 6f401f17b2

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) {