Fix Android statusbar content color

This commit is contained in:
Skylar Ittner 2021-01-22 12:16:56 -07:00
parent 5691e91312
commit 00ae16d28c

View File

@ -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.styleLightContent();
StatusBar.styleDarkContent();
StatusBar.backgroundColorByHexString("#D0F2FC");
}
} else if (theme == "dark") {