change needed for consistency of waypooint dialogue and nav settings

This commit is contained in:
sonora 2014-09-10 23:03:50 +02:00
parent ad144c6aa7
commit 7f38dbcc29

View file

@ -228,11 +228,17 @@ public class WaypointHelper {
if(type == ALARMS) {
return showAlarms() || announceAlarms();
} else if(type == POI) {
return showPOI() || announcePOI();
//no SHOW item in settings, hence only query ANNOUNE here
//return showPOI() || announcePOI();
return announcePOI();
} else if(type == FAVORITES) {
return showFavorites() || announceFavorites();
//no SHOW item in settings, hence only query ANNOUNE here
//return showFavorites() || announceFavorites();
return announceFavorites();
} else if(type == WAYPOINTS) {
return showGPXWaypoints() || announceGPXWaypoints();
//no SHOW item in settings, hence only query ANNOUNE here
//return showGPXWaypoints() || announceGPXWaypoints();
return announceGPXWaypoints();
}
return true;
}