From c608fbc20f4cec1e3128fa0b48ba4374d0d666f5 Mon Sep 17 00:00:00 2001 From: Pavneet Singh Cheema <90737218+pavi38@users.noreply.github.com> Date: Thu, 16 Jan 2025 13:02:53 -0600 Subject: [PATCH] sync: smoother myhealth dialog dark mode (fixes #5048) (#5052) Co-authored-by: dogi --- app/build.gradle | 4 ++-- .../ole/planet/myplanet/ui/dashboard/BellDashboardFragment.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 653b10600e..0833db3c7a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,8 +10,8 @@ android { applicationId "org.ole.planet.myplanet" minSdkVersion 26 targetSdkVersion 34 - versionCode 2211 - versionName "0.22.11" + versionCode 2212 + versionName "0.22.12" ndkVersion '21.3.6528147' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true diff --git a/app/src/main/java/org/ole/planet/myplanet/ui/dashboard/BellDashboardFragment.kt b/app/src/main/java/org/ole/planet/myplanet/ui/dashboard/BellDashboardFragment.kt index 04337263fe..a8b0e42b54 100644 --- a/app/src/main/java/org/ole/planet/myplanet/ui/dashboard/BellDashboardFragment.kt +++ b/app/src/main/java/org/ole/planet/myplanet/ui/dashboard/BellDashboardFragment.kt @@ -67,7 +67,7 @@ class BellDashboardFragment : BaseDashboardFragment() { checkPendingSurveys() if (model?.id?.startsWith("guest") == false && TextUtils.isEmpty(model?.key) && MainApplication.showHealthDialog) { - AlertDialog.Builder(requireActivity()) + AlertDialog.Builder(requireActivity(), R.style.CustomAlertDialog) .setMessage(getString(R.string.health_record_not_available_sync_health_data)) .setPositiveButton(getString(R.string.sync)) { _: DialogInterface?, _: Int -> syncKeyId()