Remove overpass server string resource

This commit is contained in:
MM20
2024-03-26 19:14:49 +01:00
parent cba387c832
commit dfb76bd3af
2 changed files with 2 additions and 3 deletions
@@ -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)
}