refactored some code
This commit is contained in:
parent
0f2986283a
commit
5e9ad3a074
1 changed files with 2 additions and 5 deletions
|
@ -36,9 +36,6 @@ public class FavouritesBottomSheetMenuFragment extends MenuBottomSheetDialogFrag
|
||||||
private static final String IS_SORTED = "sorted";
|
private static final String IS_SORTED = "sorted";
|
||||||
private static final String SORTED_BY_TYPE = "sortedByType";
|
private static final String SORTED_BY_TYPE = "sortedByType";
|
||||||
|
|
||||||
boolean target;
|
|
||||||
boolean intermediate;
|
|
||||||
|
|
||||||
private Location location;
|
private Location location;
|
||||||
private Float heading;
|
private Float heading;
|
||||||
private List<FavouritePoint> favouritePoints;
|
private List<FavouritePoint> favouritePoints;
|
||||||
|
@ -48,6 +45,8 @@ public class FavouritesBottomSheetMenuFragment extends MenuBottomSheetDialogFrag
|
||||||
private boolean isSorted = false;
|
private boolean isSorted = false;
|
||||||
private boolean locationUpdateStarted;
|
private boolean locationUpdateStarted;
|
||||||
private boolean compassUpdateAllowed = true;
|
private boolean compassUpdateAllowed = true;
|
||||||
|
private boolean target;
|
||||||
|
private boolean intermediate;
|
||||||
private BaseBottomSheetItem title;
|
private BaseBottomSheetItem title;
|
||||||
private MapRouteInfoMenu routeMenu;
|
private MapRouteInfoMenu routeMenu;
|
||||||
|
|
||||||
|
@ -257,6 +256,4 @@ public class FavouritesBottomSheetMenuFragment extends MenuBottomSheetDialogFrag
|
||||||
super.onCloseRowClickAction();
|
super.onCloseRowClickAction();
|
||||||
routeMenu.setupSpinners(target, intermediate);
|
routeMenu.setupSpinners(target, intermediate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue