show lock screen at start

This commit is contained in:
JDonadio 2017-03-02 16:49:07 -03:00
commit 6419342c4b
5 changed files with 13 additions and 15 deletions

View file

@ -54,7 +54,7 @@ angular.module('copayApp.controllers').controller('advancedSettingsController',
$scope.usePincodeChange = function() {
pincodeService.lockChange({
from: 'settings',
fromSettings: true,
locking: $scope.usePincode.enabled
});
};

View file

@ -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();
});