From a9dbd61989321ac5132d88b73d59ba5e2b1e99e8 Mon Sep 17 00:00:00 2001 From: Henry Hiles Date: Tue, 26 Dec 2023 11:54:18 -0500 Subject: [PATCH] Fix bug --- .../qweather/presentation/screen/LocationPickerScreen.kt | 1 + 1 file changed, 1 insertion(+) 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