commit
376a36b68d
11 changed files with 52 additions and 30 deletions
|
|
@ -160,6 +160,7 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
|
|||
$scope.error = 'Please enter the required fields';
|
||||
return;
|
||||
}
|
||||
|
||||
$scope.saveSettings(function(err) {
|
||||
preconditions.checkState(!err, err);
|
||||
|
||||
|
|
|
|||
|
|
@ -133,8 +133,9 @@ angular.module('copayApp.controllers').controller('HomeController', function($sc
|
|||
$scope.error = 'Invalid email or password. You are trying to sign in using ' + storage + '. Change it on settings is necessary.';
|
||||
};
|
||||
|
||||
pinService.clear(function() {
|
||||
});
|
||||
$rootScope.hasPin = false;
|
||||
pinService.clear(function() {});
|
||||
|
||||
} else if ((err.toString() || '').match('Connection')) {
|
||||
$scope.error = 'Could not connect to Insight Server';
|
||||
} else if ((err.toString() || '').match('Unable')) {
|
||||
|
|
|
|||
|
|
@ -77,7 +77,6 @@ angular.module('copayApp.controllers').controller('SettingsController', function
|
|||
|
||||
configService.set({
|
||||
network: insightSettings,
|
||||
version: copay.version,
|
||||
defaultLanguage: $scope.selectedLanguage.isoCode,
|
||||
plugins: plugins,
|
||||
logLevel: $scope.selectedLogLevel.name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue