diff --git a/js/controllers/createProfile.js b/js/controllers/createProfile.js index 09de0be7e..c4cfa4b20 100644 --- a/js/controllers/createProfile.js +++ b/js/controllers/createProfile.js @@ -1,6 +1,6 @@ 'use strict'; -angular.module('copayApp.controllers').controller('CreateProfileController', function($scope, $rootScope, $location, $timeout, $window, notification, pluginManager, identityService, pinService, isMobile, configService, go) { +angular.module('copayApp.controllers').controller('CreateProfileController', function($scope, $rootScope, $location, $timeout, $window, notification, pluginManager, identityService, pinService, isMobile, isCordova, configService, go) { var _credentials, _firstpin; @@ -77,6 +77,7 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun $scope.setStep = function(step) { $scope.error = null; $scope.createStep = step; + $scope.hideForWP = false; $timeout(function() { $scope.$digest(); }, 1); @@ -84,6 +85,7 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun $scope.selectStorage = function(storage) { $scope.useLocalstorage = storage == 'local'; + $scope.hideForWP = false; $timeout(function() { $scope.$digest(); }, 1); @@ -99,6 +101,7 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun preconditions.checkState($scope.userOrEmail); $scope.error = null; + $scope.hideForWP = false; $scope.createStep = 'pass'; $timeout(function() { $scope.$digest(); diff --git a/js/controllers/home.js b/js/controllers/home.js index 357cece40..a1b4ea892 100644 --- a/js/controllers/home.js +++ b/js/controllers/home.js @@ -6,7 +6,6 @@ angular.module('copayApp.controllers').controller('HomeController', function($sc $scope.init = function() { $scope.isMobile = isMobile.any(); $scope.isWindowsPhoneApp = isMobile.Windows() && isCordova; - $scope.isWindowsPhoneApp = 1; $scope.hideForWP = 0; $scope.attempt = 0; diff --git a/views/createProfile.html b/views/createProfile.html index f2713ccd1..8abd44750 100644 --- a/views/createProfile.html +++ b/views/createProfile.html @@ -113,7 +113,7 @@
- +
- +
@@ -160,13 +160,13 @@
- +
- +
- +
- +