remove unnecessary event
This commit is contained in:
parent
e89847af55
commit
5f08ad236b
2 changed files with 0 additions and 9 deletions
|
|
@ -59,14 +59,6 @@ angular.module('copayApp.controllers').controller('advancedSettingsController',
|
|||
});
|
||||
};
|
||||
|
||||
$scope.$on('updatePincodeOption', function(event) {
|
||||
var config = configService.getSync();
|
||||
$scope.usePincode = {
|
||||
enabled: config.pincode ? config.pincode.enabled : false
|
||||
};
|
||||
$scope.$apply();
|
||||
});
|
||||
|
||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
$scope.isCordova = platformInfo.isCordova;
|
||||
updateConfig();
|
||||
|
|
|
|||
|
|
@ -77,7 +77,6 @@ angular.module('copayApp.controllers').controller('pincodeController', function(
|
|||
};
|
||||
|
||||
$scope.close = function() {
|
||||
$scope.$emit('updatePincodeOption');
|
||||
if ($scope.fromSettings) $state.go('tabs.advanced');
|
||||
else $state.go('tabs.home');
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue