Fix statusbar color
This commit is contained in:
parent
94a5b3c3f2
commit
4ba4cac328
@ -105,9 +105,9 @@ function setAppTheme(theme) {
|
|||||||
if (platform_type == "cordova" && typeof StatusBar !== 'undefined') {
|
if (platform_type == "cordova" && typeof StatusBar !== 'undefined') {
|
||||||
StatusBar.styleDefault();
|
StatusBar.styleDefault();
|
||||||
if (device.platform == "Android") {
|
if (device.platform == "Android") {
|
||||||
StatusBar.backgroundColorByHexString("#9ebfc9");
|
StatusBar.backgroundColorByHexString("#ffffff");
|
||||||
} else {
|
} else {
|
||||||
StatusBar.backgroundColorByHexString("#d0f2fc");
|
StatusBar.backgroundColorByHexString("#ffffff");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (theme == "dark") {
|
} else if (theme == "dark") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user