From 1c3a5f9652a3d74c64550b951545f1016b82da36 Mon Sep 17 00:00:00 2001 From: Dima-1 Date: Sat, 23 Jan 2021 18:27:29 +0200 Subject: [PATCH] Fix travel article navigation --- .../src/net/osmand/plus/wikivoyage/data/TravelObfHelper.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelObfHelper.java b/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelObfHelper.java index cdc166e231..77e9430983 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelObfHelper.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelObfHelper.java @@ -404,6 +404,9 @@ public class TravelObfHelper implements TravelHelper { Map headerObjs = new HashMap<>(); if (parts != null && parts.length > 0) { headers.addAll(Arrays.asList(parts)); + if (!Algorithms.isEmpty(article.isParentOf)) { + headers.add(title); + } } for (String header : headers) {