Remove overpass server string resource
This commit is contained in:
parent
cba387c832
commit
dfb76bd3af
@ -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)
|
||||
}
|
||||
|
||||
@ -877,7 +877,6 @@
|
||||
<string name="imperial">Imperial</string>
|
||||
<string name="metric">Metric</string>
|
||||
<string name="preference_search_location_custom_overpass_url">Overpass URL</string>
|
||||
<string name="overpass_url">https://overpass-api.de</string>
|
||||
<string name="preference_search_locations_hide_uncategorized">Hide uncategorized locations</string>
|
||||
<string name="preference_search_locations_hide_uncategorized_summary">Show only results with well defined categories, like cafés or restaurants</string>
|
||||
<string name="preference_search_locations_show_map">Map</string>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user