Fix MapRouteInfoMenuFragment crash
This commit is contained in:
parent
c61ff3bbf8
commit
554e7b0a52
1 changed files with 6 additions and 2 deletions
|
@ -81,13 +81,17 @@ public class MapRouteInfoMenuFragment extends Fragment {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateInfo() {
|
public void updateInfo() {
|
||||||
|
if (menu != null) {
|
||||||
menu.updateInfo(mainView);
|
menu.updateInfo(mainView);
|
||||||
|
}
|
||||||
applyDayNightMode();
|
applyDayNightMode();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateFromIcon() {
|
public void updateFromIcon() {
|
||||||
|
if (menu != null) {
|
||||||
menu.updateFromIcon(mainView);
|
menu.updateFromIcon(mainView);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void show(MapActivity mapActivity) {
|
public void show(MapActivity mapActivity) {
|
||||||
int slideInAnim = R.anim.slide_in_bottom;
|
int slideInAnim = R.anim.slide_in_bottom;
|
||||||
|
|
Loading…
Reference in a new issue