From f3f0b69c90cdfc87153fd889987be3f23a91fb7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 24 Feb 2022 09:14:03 +0100 Subject: [PATCH] MOBILE-3916 style: Same color on system top bar than header bar --- src/core/services/app.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/core/services/app.ts b/src/core/services/app.ts index 523418254..4ab97df7f 100644 --- a/src/core/services/app.ts +++ b/src/core/services/app.ts @@ -638,14 +638,6 @@ export class CoreAppProvider { color = CoreColors.getToolbarBackgroundColor(); } - // Make darker on Android, except white. - if (this.isAndroid()) { - const rgb = CoreColors.hexToRGB(color); - if (rgb.red != 255 || rgb.green != 255 || rgb.blue != 255) { - color = CoreColors.darker(color, 10); - } - } - this.logger.debug(`Set status bar color ${color}`); const useLightText = CoreColors.isWhiteContrastingBetter(color);