From a2e1bd3a1ebf604b5221267f9e0f71cf2b00faf0 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Dominguez Date: Mon, 21 May 2018 23:01:29 +0900 Subject: [PATCH] Fix - 337 - Fix error for browser version --- src/js/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/routes.js b/src/js/routes.js index b78beffc6..395a356bd 100644 --- a/src/js/routes.js +++ b/src/js/routes.js @@ -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'); }