Improvement - 337 - Small fix for Android Status Bar Color
This commit is contained in:
parent
12f021979f
commit
38d86f6524
1 changed files with 6 additions and 0 deletions
|
|
@ -1251,6 +1251,12 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
||||||
if (screen.width < 768 && platformInfo.isCordova)
|
if (screen.width < 768 && platformInfo.isCordova)
|
||||||
screen.lockOrientation('portrait');
|
screen.lockOrientation('portrait');
|
||||||
|
|
||||||
|
if (window.StatusBar) {
|
||||||
|
if (ionic.Platform.isAndroid()) {
|
||||||
|
StatusBar.backgroundColorByHexString('#000000');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard && !platformInfo.isWP) {
|
if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard && !platformInfo.isWP) {
|
||||||
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);
|
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);
|
||||||
cordova.plugins.Keyboard.disableScroll(true);
|
cordova.plugins.Keyboard.disableScroll(true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue