diff --git a/js/controllers/createProfile.js b/js/controllers/createProfile.js index c4cfa4b20..08551ab6b 100644 --- a/js/controllers/createProfile.js +++ b/js/controllers/createProfile.js @@ -22,6 +22,8 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun pinService.makePinInput($scope, 'newpin', function(newValue) { _firstpin = newValue; $scope.askForPin = 2; + $scope.hideForWP = 0; + }); pinService.makePinInput($scope, 'repeatpin', function(newValue) { @@ -29,7 +31,9 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun _firstpin = null; $scope.createPin(newValue); } else { - $scope.askForPin = 1; + $scope.askForPin = 1; + $scope.hideForWP = 0; + _firstpin = null; $scope.setPinForm.newpin.$setViewValue(''); @@ -156,6 +160,8 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun password: password, }; $scope.askForPin = 1; + $scope.hideForWP = 0; + $rootScope.hideNavigation = true; $timeout(function() { $rootScope.$digest(); diff --git a/views/createProfile.html b/views/createProfile.html index 8abd44750..bf17708f5 100644 --- a/views/createProfile.html +++ b/views/createProfile.html @@ -20,8 +20,8 @@