show lock screen at start
This commit is contained in:
parent
e5ecc111f3
commit
6419342c4b
5 changed files with 13 additions and 15 deletions
|
|
@ -54,7 +54,7 @@ angular.module('copayApp.controllers').controller('advancedSettingsController',
|
|||
|
||||
$scope.usePincodeChange = function() {
|
||||
pincodeService.lockChange({
|
||||
from: 'settings',
|
||||
fromSettings: true,
|
||||
locking: $scope.usePincode.enabled
|
||||
});
|
||||
};
|
||||
|
|
|
|||
|
|
@ -15,17 +15,6 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
|||
$scope.isNW = platformInfo.isNW;
|
||||
$scope.showRateCard = {};
|
||||
|
||||
function openPincodeModal() {
|
||||
$ionicModal.fromTemplateUrl('views/modals/pincode.html', {
|
||||
scope: $scope,
|
||||
backdropClickToClose: false,
|
||||
hardwareBackButtonClose: false
|
||||
}).then(function(modal) {
|
||||
$scope.pincodeModal = modal;
|
||||
$scope.pincodeModal.show();
|
||||
});
|
||||
};
|
||||
// openPincodeModal();
|
||||
$scope.$on("$ionicView.afterEnter", function() {
|
||||
startupService.ready();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue