Change StatusBar text/icon color
This commit is contained in:
parent
0bda9f78cb
commit
815610e23b
@ -95,7 +95,7 @@ function setAppTheme(theme) {
|
||||
if (theme == "light") {
|
||||
$("#app").removeClass("theme-dark");
|
||||
if (platform_type == "cordova" && cordova.platformId == 'android' && typeof StatusBar !== 'undefined') {
|
||||
StatusBar.styleDefault();
|
||||
StatusBar.styleLightContent();
|
||||
StatusBar.backgroundColorByHexString("#0D87F6");
|
||||
}
|
||||
} else if (theme == "dark") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user