From 5e9ad3a0749c27684882fdbc1473c176831c6be3 Mon Sep 17 00:00:00 2001 From: Chumva Date: Thu, 15 Mar 2018 13:10:33 +0200 Subject: [PATCH] refactored some code --- .../other/FavouritesBottomSheetMenuFragment.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/FavouritesBottomSheetMenuFragment.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/FavouritesBottomSheetMenuFragment.java index b1e9060aaa..81506d446b 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/FavouritesBottomSheetMenuFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/FavouritesBottomSheetMenuFragment.java @@ -36,9 +36,6 @@ public class FavouritesBottomSheetMenuFragment extends MenuBottomSheetDialogFrag private static final String IS_SORTED = "sorted"; private static final String SORTED_BY_TYPE = "sortedByType"; - boolean target; - boolean intermediate; - private Location location; private Float heading; private List favouritePoints; @@ -48,6 +45,8 @@ public class FavouritesBottomSheetMenuFragment extends MenuBottomSheetDialogFrag private boolean isSorted = false; private boolean locationUpdateStarted; private boolean compassUpdateAllowed = true; + private boolean target; + private boolean intermediate; private BaseBottomSheetItem title; private MapRouteInfoMenu routeMenu; @@ -257,6 +256,4 @@ public class FavouritesBottomSheetMenuFragment extends MenuBottomSheetDialogFrag super.onCloseRowClickAction(); routeMenu.setupSpinners(target, intermediate); } - - }