From e7551f5273e549f0606515dc0cf3ac78203d3fd1 Mon Sep 17 00:00:00 2001 From: Avinash Sharma <133222313+Avinash-Codes@users.noreply.github.com> Date: Thu, 16 Jan 2025 01:58:48 +0530 Subject: [PATCH] login: smoother team dark mode (fixes #5039) (#5040) Co-authored-by: dogi --- app/build.gradle | 4 ++-- .../java/org/ole/planet/myplanet/ui/sync/LoginActivity.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index ac67065f9a..6b17cda1ea 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,8 +10,8 @@ android { applicationId "org.ole.planet.myplanet" minSdkVersion 26 targetSdkVersion 34 - versionCode 2205 - versionName "0.22.5" + versionCode 2206 + versionName "0.22.6" ndkVersion '21.3.6528147' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true diff --git a/app/src/main/java/org/ole/planet/myplanet/ui/sync/LoginActivity.kt b/app/src/main/java/org/ole/planet/myplanet/ui/sync/LoginActivity.kt index d0eed59e4f..3292f759c4 100644 --- a/app/src/main/java/org/ole/planet/myplanet/ui/sync/LoginActivity.kt +++ b/app/src/main/java/org/ole/planet/myplanet/ui/sync/LoginActivity.kt @@ -236,7 +236,7 @@ class LoginActivity : SyncActivity(), TeamListAdapter.OnItemClickListener { if (!teams.isNullOrEmpty()) { activityLoginBinding.team.visibility = View.VISIBLE teamAdapter = ArrayAdapter(this, R.layout.spinner_item_white, teamList) - teamAdapter?.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item) + teamAdapter?.setDropDownViewResource(R.layout.custom_simple_list_item_1) teamList.clear() teamList.add(getString(R.string.select_team)) for (team in teams) {