Skip to content
Permalink
Browse files

Fix: status bar colors for android

  • Loading branch information
Gamboster committed Feb 13, 2020
1 parent ad37aa9 commit aa4e8e3da2dff8b430753d972dcba0541f031135
Showing with 5 additions and 3 deletions.
  1. +1 −1 app-template/config-template.xml
  2. +4 −2 src/app/app.component.ts
@@ -35,7 +35,7 @@
<preference name="Orientation" value="default" />
<preference name="cordova-custom-config-stoponerror" value="true" />

<preference name="StatusBarBackgroundColor" value="*THEMECOLOR*" />
<preference name="StatusBarBackgroundColor" value="#0c204e" />
<preference name="StatusBarOverlaysWebView" value="true" />
<preference name="StatusBarStyle" value="lightcontent" />

@@ -215,9 +215,11 @@ export class CopayApp {
this.screenOrientation.lock(this.screenOrientation.ORIENTATIONS.PORTRAIT);

// Only overlay for iOS
if (this.platform.is('ios')) this.statusBar.overlaysWebView(true);
if (this.platform.is('ios')) {
this.statusBar.overlaysWebView(true);
this.statusBar.styleDefault();
}

this.statusBar.styleDefault();
this.splashScreen.hide();

// Subscribe Resume

0 comments on commit aa4e8e3

Please sign in to comment.
You can’t perform that action at this time.