Small fixes
This commit is contained in:
parent
ca6c7f096f
commit
fcd2eed652
2 changed files with 7 additions and 7 deletions
|
@ -571,7 +571,7 @@ public class MeasurementToolFragment extends BaseOsmAndFragment implements Route
|
|||
if (savedInstanceState == null) {
|
||||
if (fileName != null) {
|
||||
addNewGpxData(getGpxFile(fileName));
|
||||
} else if (editingCtx.isApproximationNeeded() && isFollowTrackMode() && showSnapWarning) {
|
||||
} else if (editingCtx.isApproximationNeeded() && isFollowTrackMode() && isShowSnapWarning()) {
|
||||
enterApproximationMode(mapActivity);
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -57,8 +57,8 @@ import net.osmand.plus.routepreparationmenu.cards.ReverseTrackCard;
|
|||
import net.osmand.plus.routepreparationmenu.cards.SelectTrackCard;
|
||||
import net.osmand.plus.routepreparationmenu.cards.TrackEditCard;
|
||||
import net.osmand.plus.routepreparationmenu.cards.TracksToFollowCard;
|
||||
import net.osmand.plus.routing.IRouteInformationListener;
|
||||
import net.osmand.plus.routing.GPXRouteParams.GPXRouteParamsBuilder;
|
||||
import net.osmand.plus.routing.IRouteInformationListener;
|
||||
import net.osmand.plus.routing.RouteService;
|
||||
import net.osmand.plus.routing.RoutingHelper;
|
||||
import net.osmand.plus.settings.backend.ApplicationMode;
|
||||
|
@ -452,12 +452,12 @@ public class FollowTrackFragment extends ContextMenuScrollFragment implements Ca
|
|||
} else if (card instanceof TrackEditCard) {
|
||||
openPlanRoute(false);
|
||||
close();
|
||||
} else if (card instanceof SelectTrackCard) {
|
||||
updateSelectionMode(true);
|
||||
} else if (card instanceof ReverseTrackCard
|
||||
|| card instanceof NavigateTrackOptionsCard) {
|
||||
updateMenu();
|
||||
}
|
||||
} else if (card instanceof SelectTrackCard) {
|
||||
updateSelectionMode(true);
|
||||
} else if (card instanceof ReverseTrackCard
|
||||
|| card instanceof NavigateTrackOptionsCard) {
|
||||
updateMenu();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue