From 0552acae263e54e2bca2ab7885b5d6e0afe4ef20 Mon Sep 17 00:00:00 2001 From: Katharine Chui Date: Sun, 6 Feb 2022 03:44:20 +0800 Subject: [PATCH] spotbug --- app/src/main/java/protect/card_locker/Utils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/protect/card_locker/Utils.java b/app/src/main/java/protect/card_locker/Utils.java index bb14d8a18..23f7cb84e 100644 --- a/app/src/main/java/protect/card_locker/Utils.java +++ b/app/src/main/java/protect/card_locker/Utils.java @@ -487,10 +487,9 @@ public class Utils { theme.applyStyle(R.style.brown, true); } else if (color.equals(resources.getString(R.string.settings_key_catima_theme))) { // catima theme is AppTheme itself, no dynamic colors nor applyStyle - } else if (color.equals(resources.getString(R.string.settings_key_system_theme))) { - DynamicColors.applyIfAvailable(activity); } else { // final catch all in case of invalid theme value from older versions + // also handles R.string.settings_key_system_theme DynamicColors.applyIfAvailable(activity); }