Fix app initialisation
This commit is contained in:
parent
e519517167
commit
d27a77cb1f
1 changed files with 79 additions and 82 deletions
|
|
@ -1096,8 +1096,6 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
uxLanguage.init();
|
||||
|
||||
$ionicPlatform.ready(function() {
|
||||
if (platformInfo.isCordova) {
|
||||
|
||||
if (screen.width < 768)
|
||||
screen.lockOrientation('portrait');
|
||||
|
||||
|
|
@ -1154,7 +1152,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
$ionicPlatform.on('menubutton', function() {
|
||||
window.location = '#/preferences';
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$log.info('Init profile...');
|
||||
// Try to open local profile
|
||||
|
|
@ -1191,7 +1189,6 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
openURLService.init();
|
||||
}, 1000);
|
||||
});
|
||||
});
|
||||
|
||||
if (platformInfo.isNW) {
|
||||
var gui = require('nw.gui');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue