Fix buttons. Remove console.logs. isMobile active!!
This commit is contained in:
parent
1d7e9dda93
commit
5329d030f8
5 changed files with 68 additions and 72 deletions
|
|
@ -86,10 +86,9 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
|
|||
},1);
|
||||
$scope.error = msg;
|
||||
} else {
|
||||
$scope.error = null;
|
||||
$scope.error = null;
|
||||
// mobile
|
||||
//if (isMobile.any()) {
|
||||
if (true) {
|
||||
if (isMobile.any()) {
|
||||
_credentials = {
|
||||
email: form.email.$modelValue,
|
||||
password: form.password.$modelValue,
|
||||
|
|
@ -100,7 +99,6 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
|
|||
$rootScope.$digest();
|
||||
}, 1);
|
||||
|
||||
console.log('[createProfile.js.70]'); //TODO
|
||||
return;
|
||||
} else {
|
||||
$scope.createDefaultWallet();
|
||||
|
|
|
|||
|
|
@ -41,16 +41,15 @@ angular.module('copayApp.controllers').controller('HomeController', function($sc
|
|||
if (newValue === _firstpin) {
|
||||
_firstpin = null;
|
||||
$scope.createPin(newValue);
|
||||
} else {
|
||||
} else {
|
||||
$scope.$$childTail.setPinForm.newpin.$setViewValue('');
|
||||
$scope.$$childTail.setPinForm.newpin.$render();
|
||||
$scope.$$childTail.setPinForm.repeatpin.$setViewValue('');
|
||||
$scope.$$childTail.setPinForm.repeatpin.$render();
|
||||
|
||||
_firstpin = null;
|
||||
$scope.error = 'Entered PINs were not equal. Try again';
|
||||
$scope.askForPin = 1;
|
||||
|
||||
$scope.setPinForm.newpin.$setViewValue('');
|
||||
$scope.setPinForm.newpin.$render();
|
||||
$scope.setPinForm.repeatpin.$setViewValue('');
|
||||
$scope.setPinForm.repeatpin.$render();
|
||||
$scope.setPinForm.$setPristine();
|
||||
$scope.error = 'Entered PINs were not equal. Try again';
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -155,11 +154,11 @@ angular.module('copayApp.controllers').controller('HomeController', function($sc
|
|||
|
||||
// Open successfully?
|
||||
if (iden) {
|
||||
$scope.error = null;
|
||||
$scope.confirmedEmail = false;
|
||||
|
||||
// mobile
|
||||
//if (isMobile.any() && !$rootScope.hasPin) {
|
||||
if (true && !$rootScope.hasPin) {
|
||||
if (isMobile.any() && !$rootScope.hasPin) {
|
||||
$scope.done();
|
||||
_credentials = {
|
||||
email: email,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue