From f7062fdd82122fbb62bea5893ceaf53542144524 Mon Sep 17 00:00:00 2001 From: YJ1211 <1056025931@qq.com> Date: Tue, 5 Apr 2022 10:06:17 +0800 Subject: [PATCH] =?UTF-8?q?0.2.8=20=E5=88=86=E5=8C=BA=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E5=8C=BA=E5=88=86=E5=A4=A7=E5=B0=8F=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 4 ++-- .../main/java/com/sunnyweather/android/ui/area/AreaPopup.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 1181aeb..3bb1290 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -14,8 +14,8 @@ android { applicationId "com.yj1211.justlive" minSdk 21 targetSdk 30 - versionCode 18 - versionName "0.2.7" + versionCode 19 + versionName "0.2.8" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/java/com/sunnyweather/android/ui/area/AreaPopup.kt b/app/src/main/java/com/sunnyweather/android/ui/area/AreaPopup.kt index 4623b35..91b3523 100644 --- a/app/src/main/java/com/sunnyweather/android/ui/area/AreaPopup.kt +++ b/app/src/main/java/com/sunnyweather/android/ui/area/AreaPopup.kt @@ -272,7 +272,7 @@ class AreaPopup(context: Context) : BottomPopupView(context), View.OnClickListen area_search.showLeftButton() areaMap.values.forEach { list -> list.forEach { area -> - if (area.getString("areaName").contains(query)) { + if (area.getString("areaName").lowercase().contains(query.lowercase())) { var areaInfo = AreaInfo( area.getString("platform"), area.getString("areaType"),