From 954080361c16c11a234071e6c019da905232fcbf Mon Sep 17 00:00:00 2001 From: WSTxda Date: Tue, 27 Feb 2024 20:45:47 -0300 Subject: [PATCH] Use color error in remove button dialog --- .../java/org/microg/gms/ui/AccountsFragment.kt | 2 +- play-services-core/src/main/res/values/themes.xml | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/play-services-core/src/main/java/org/microg/gms/ui/AccountsFragment.kt b/play-services-core/src/main/java/org/microg/gms/ui/AccountsFragment.kt index d7331341e9..6153b2b8b8 100644 --- a/play-services-core/src/main/java/org/microg/gms/ui/AccountsFragment.kt +++ b/play-services-core/src/main/java/org/microg/gms/ui/AccountsFragment.kt @@ -72,7 +72,7 @@ class AccountsFragment : PreferenceFragmentCompat() { } private fun showConfirmationDialog(accountName: String) { - val alertDialogBuilder = AlertDialog.Builder(requireContext()) + val alertDialogBuilder = AlertDialog.Builder(requireContext(), R.style.AppTheme_Dialog_Account) alertDialogBuilder.apply { setTitle(getString(R.string.dialog_title_remove_account)) setMessage(getString(R.string.dialog_message_remove_account)) diff --git a/play-services-core/src/main/res/values/themes.xml b/play-services-core/src/main/res/values/themes.xml index 58fa643caf..07c2fc50c2 100644 --- a/play-services-core/src/main/res/values/themes.xml +++ b/play-services-core/src/main/res/values/themes.xml @@ -79,6 +79,15 @@ ?colorSurface + + + +