check if syncing show settings iflates waypoint dialogue properly upon startup
This commit is contained in:
parent
738ac9803c
commit
72b822c897
1 changed files with 5 additions and 0 deletions
|
@ -419,6 +419,11 @@ public class WaypointHelper {
|
|||
|
||||
|
||||
protected void recalculatePoints(RouteCalculationResult route, int type, List<List<LocationPointWrapper>> locationPoints) {
|
||||
//sync SHOW settings not otherwise accessible in settings menu
|
||||
app.getSettings().SHOW_NEARBY_POI.set(app.getSettings().ANNOUNCE_NEARBY_POI.get());
|
||||
app.getSettings().SHOW_NEARBY_FAVORITES.set(app.getSettings().ANNOUNCE_NEARBY_FAVORITES.get());
|
||||
app.getSettings().SHOW_WPT.set(app.getSettings().ANNOUNCE_WPT.get());
|
||||
|
||||
boolean all = type == -1;
|
||||
if (route != null && !route.isEmpty()) {
|
||||
if ((type == FAVORITES || all)) {
|
||||
|
|
Loading…
Reference in a new issue