From 0960c1e3915a497ef597410e93d7913f611cdf80 Mon Sep 17 00:00:00 2001 From: Xtr126 <80520774+Xtr126@users.noreply.github.com> Date: Mon, 12 Aug 2024 12:58:41 +0530 Subject: [PATCH] fix: use dynamic colors theme --- app/src/main/java/xtr/keymapper/activity/MainActivity.java | 2 -- app/src/main/res/values/themes.xml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/xtr/keymapper/activity/MainActivity.java b/app/src/main/java/xtr/keymapper/activity/MainActivity.java index 2997301e..c4933096 100644 --- a/app/src/main/java/xtr/keymapper/activity/MainActivity.java +++ b/app/src/main/java/xtr/keymapper/activity/MainActivity.java @@ -19,7 +19,6 @@ import androidx.annotation.StringRes; import androidx.appcompat.app.AppCompatActivity; -import com.google.android.material.color.DynamicColors; import com.google.android.material.dialog.MaterialAlertDialogBuilder; import com.topjohnwu.superuser.Shell; @@ -54,7 +53,6 @@ public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - DynamicColors.applyToActivitiesIfAvailable(getApplication()); binding = ActivityMainBinding.inflate(getLayoutInflater()); setContentView(binding.getRoot()); diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index c18b2101..81e4af73 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -1,6 +1,6 @@ -