Browse Source

More statusbar changes

tags/v1.3.0
Skylar Ittner 8 months ago
parent
commit
6009168891
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      www/js/platform.js

+ 2
- 3
www/js/platform.js View File

@@ -59,13 +59,12 @@ function initCordova() {
if (localStorage.getItem("darktheme") == "true") {
$("#app").addClass("theme-dark");
if (cordova.platformId == 'android') {
StatusBar.styleDefault();
StatusBar.styleBlackOpaque();
}
} else {
$("#app").removeClass("theme-dark");
if (cordova.platformId == 'android') {
StatusBar.backgroundColorByHexString("#D32F2F");
StatusBar.styleLightContent();
StatusBar.styleDefault();
}
}
}


Loading…
Cancel
Save