Merge pull request #129 from Bitcoin-com/wallet/task/337

Fix - 337 - Fix error for browser version
This commit is contained in:
Sebastiaan Pasma 2018-05-21 16:08:38 +02:00 committed by GitHub
commit 9a3e0fdb06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1251,7 +1251,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
if (screen.width < 768 && platformInfo.isCordova)
screen.lockOrientation('portrait');
if (StatusBar && ionic.Platform.isAndroid()) {
if (ionic.Platform.isAndroid() && StatusBar) {
StatusBar.backgroundColorByHexString('#000000');
}