diff --git a/app/ui/src/main/java/de/mm20/launcher2/ui/settings/locations/LocationsSettingsScreen.kt b/app/ui/src/main/java/de/mm20/launcher2/ui/settings/locations/LocationsSettingsScreen.kt index 45395abe..990881c0 100644 --- a/app/ui/src/main/java/de/mm20/launcher2/ui/settings/locations/LocationsSettingsScreen.kt +++ b/app/ui/src/main/java/de/mm20/launcher2/ui/settings/locations/LocationsSettingsScreen.kt @@ -135,9 +135,9 @@ fun LocationsSettingsScreen() { TextPreference( title = stringResource(R.string.preference_search_location_custom_overpass_url), value = customOverpassUrl, - placeholder = stringResource(id = R.string.overpass_url), + placeholder = LocationSearchSettings.DefaultOverpassUrl, summary = customOverpassUrl.takeIf { !it.isNullOrBlank() } - ?: stringResource(id = R.string.overpass_url), + ?: LocationSearchSettings.DefaultOverpassUrl, onValueChanged = { viewModel.setCustomOverpassUrl(it) } diff --git a/core/i18n/src/main/res/values/strings.xml b/core/i18n/src/main/res/values/strings.xml index bc4e74ae..adfb3b85 100644 --- a/core/i18n/src/main/res/values/strings.xml +++ b/core/i18n/src/main/res/values/strings.xml @@ -877,7 +877,6 @@ Imperial Metric Overpass URL - https://overpass-api.de Hide uncategorized locations Show only results with well defined categories, like cafés or restaurants Map