show lock screen at start
This commit is contained in:
parent
e5ecc111f3
commit
6419342c4b
5 changed files with 13 additions and 15 deletions
|
|
@ -1091,11 +1091,20 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
}
|
||||
});
|
||||
})
|
||||
.run(function($rootScope, $state, $location, $log, $timeout, $ionicHistory, $ionicPlatform, $window, appConfigService, lodash, platformInfo, profileService, uxLanguage, gettextCatalog, openURLService, storageService, scannerService, /* plugins START HERE => */ coinbaseService, glideraService, amazonService, bitpayCardService) {
|
||||
.run(function($rootScope, $state, $location, $log, $timeout, $ionicHistory, $ionicPlatform, $window, appConfigService, lodash, platformInfo, profileService, uxLanguage, gettextCatalog, openURLService, storageService, scannerService, configService, pincodeService, /* plugins START HERE => */ coinbaseService, glideraService, amazonService, bitpayCardService) {
|
||||
|
||||
uxLanguage.init();
|
||||
|
||||
$ionicPlatform.ready(function() {
|
||||
configService.whenAvailable(function(config) {
|
||||
if (config.pincode && config.pincode.enabled) {
|
||||
pincodeService.lockChange({
|
||||
fromSettings: false,
|
||||
locking: false,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
if (screen.width < 768 && platformInfo.isCordova)
|
||||
screen.lockOrientation('portrait');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue