diff --git a/app/src/main/java/com/henryhiles/qweather/presentation/screen/LocationPickerScreen.kt b/app/src/main/java/com/henryhiles/qweather/presentation/screen/LocationPickerScreen.kt index 98876f1..b29fe5a 100644 --- a/app/src/main/java/com/henryhiles/qweather/presentation/screen/LocationPickerScreen.kt +++ b/app/src/main/java/com/henryhiles/qweather/presentation/screen/LocationPickerScreen.kt @@ -110,6 +110,7 @@ class LocationPickerScreen : Screen { items(results) { Spacer(modifier = Modifier.height(8.dp)) Card(modifier = Modifier.clickable { + locationSearch = "" with(screenModel.prefs) { if (it !in locations) { locations += it