diff --git a/js/controllers/createProfile.js b/js/controllers/createProfile.js index 3c5614c71..09de0be7e 100644 --- a/js/controllers/createProfile.js +++ b/js/controllers/createProfile.js @@ -10,6 +10,9 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun go.walletHome(); $scope.isMobile = isMobile.any(); + $scope.isWindowsPhoneApp = isMobile.Windows() && isCordova; + $scope.hideForWP = 0; + $scope.createStep = 'storage'; $scope.useLocalstorage = false; @@ -41,6 +44,14 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun }; + $scope.formFocus = function() { + if ($scope.isWindowsPhoneApp) { + $scope.hideForWP = true; + $timeout(function() { + $scope.$digest(); + }, 1); + } + }; $scope.createPin = function(pin) { preconditions.checkArgument(pin); preconditions.checkState($rootScope.iden); diff --git a/js/controllers/home.js b/js/controllers/home.js index 9d2b60c26..357cece40 100644 --- a/js/controllers/home.js +++ b/js/controllers/home.js @@ -6,6 +6,8 @@ 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; // This is only for backwards compat, insight api should link to #!/confirmed directly @@ -31,6 +33,16 @@ angular.module('copayApp.controllers').controller('HomeController', function($sc $scope.usingLocalStorage = config.plugins.EncryptedLocalStorage; }; + + $scope.formFocus = function() { + if ($scope.isWindowsPhoneApp) { + $scope.hideForWP = true; + $timeout(function() { + $scope.$digest(); + }, 1); + } + }; + pinService.makePinInput($scope, 'pin', function(newValue) { $scope.openWithPin(newValue); }); diff --git a/views/createProfile.html b/views/createProfile.html index b1aa53e65..f2713ccd1 100644 --- a/views/createProfile.html +++ b/views/createProfile.html @@ -4,20 +4,20 @@
-
+
Copay
-
+
clipo
-
+
clipo
-
+
clipo

Creating in the cloud

@@ -25,7 +25,7 @@
-
+
clipo
@@ -198,7 +198,7 @@
-
+
clipo
diff --git a/views/home.html b/views/home.html index 1c16d5c98..da3b0712e 100644 --- a/views/home.html +++ b/views/home.html @@ -5,7 +5,7 @@
-
+
Cop ay
@@ -101,7 +101,7 @@
-
+
clipo
@@ -136,19 +136,23 @@
- +
- +
+ + +aasdas
* Using this device storage. Change to cloud storage on 'settings'.