diff --git a/app/src/main/java/protect/card_locker/LoyaltyCardViewActivity.java b/app/src/main/java/protect/card_locker/LoyaltyCardViewActivity.java index 4f2097c26..8ae284413 100644 --- a/app/src/main/java/protect/card_locker/LoyaltyCardViewActivity.java +++ b/app/src/main/java/protect/card_locker/LoyaltyCardViewActivity.java @@ -669,8 +669,6 @@ public class LoyaltyCardViewActivity extends CatimaAppCompatActivity implements // Darken statusbar if icons won't be visible otherwise window.setStatusBarColor(backgroundNeedsDarkIcons ? ColorUtils.blendARGB(backgroundHeaderColor, Color.BLACK, 0.15f) : Color.TRANSPARENT); } - // Set darkenedColor like color on NavigationBar - window.setNavigationBarColor(darkenedColor); // Set shadow colour of store text so even same color on same color would be readable storeName.setShadowLayer(1, 1, 1, backgroundNeedsDarkIcons ? Color.BLACK : Color.WHITE); diff --git a/app/src/main/java/protect/card_locker/Utils.java b/app/src/main/java/protect/card_locker/Utils.java index 97c779e23..892cce2ed 100644 --- a/app/src/main/java/protect/card_locker/Utils.java +++ b/app/src/main/java/protect/card_locker/Utils.java @@ -495,7 +495,6 @@ public class Utils { TypedValue typedValue = new TypedValue(); activity.getTheme().resolveAttribute(android.R.attr.colorBackground, typedValue, true); activity.findViewById(android.R.id.content).setBackgroundColor(typedValue.data); - activity.getWindow().setNavigationBarColor(typedValue.data); } public static void updateMenuCardDetailsButtonState(MenuItem item, boolean currentlyExpanded) {