MOBILE-3916 style: Same color on system top bar than header bar

main
Pau Ferrer Ocaña 2022-02-24 09:14:03 +01:00
parent 2cdf6612c4
commit f3f0b69c90
1 changed files with 0 additions and 8 deletions

View File

@ -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);