diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 8f16e46df5..c063b5e552 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -11,6 +11,7 @@ Thx - Hardy --> + Add online source Night map Control visibility of additional details shown on the map diff --git a/OsmAnd/src/net/osmand/plus/mapsource/EditMapSourceDialogFragment.java b/OsmAnd/src/net/osmand/plus/mapsource/EditMapSourceDialogFragment.java index b8c11d0d10..be4023ba52 100644 --- a/OsmAnd/src/net/osmand/plus/mapsource/EditMapSourceDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapsource/EditMapSourceDialogFragment.java @@ -124,6 +124,7 @@ public class EditMapSourceDialogFragment extends BaseOsmAndDialogFragment Toolbar toolbar = root.findViewById(R.id.toolbar); toolbar.setBackgroundColor(ContextCompat.getColor(app, nightMode ? R.color.app_bar_color_dark : R.color.app_bar_color_light)); toolbar.setTitleTextColor(ContextCompat.getColor(app, nightMode ? R.color.active_buttons_and_links_text_dark : R.color.active_buttons_and_links_text_light)); + toolbar.setTitle(editedLayerName == null ? R.string.add_online_source : R.string.edit_online_source); ImageButton iconHelp = root.findViewById(R.id.toolbar_action); Drawable closeDrawable = app.getUIUtilities().getIcon(AndroidUtils.getNavigationIconResId(app), nightMode ? R.color.active_buttons_and_links_text_dark : R.color.active_buttons_and_links_text_light);