fix delete words
This commit is contained in:
parent
78e60728f9
commit
a4e3cbe463
3 changed files with 2 additions and 4 deletions
|
|
@ -9,8 +9,7 @@
|
||||||
<div ng-show="!backupWalletPlainText">
|
<div ng-show="!backupWalletPlainText">
|
||||||
<div class="text-warning size-14 m20b" ng-show="error">
|
<div class="text-warning size-14 m20b" ng-show="error">
|
||||||
<i class="fi-alert size-12"></i>
|
<i class="fi-alert size-12"></i>
|
||||||
<span ng-show="!touchIdError" translate>Failed to export</span>
|
<span translate>Failed to export</span>
|
||||||
<span ng-show="touchIdError">{{touchIdError}}</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ angular.module('copayApp.controllers').controller('exportController',
|
||||||
var isCordova = platformInfo.isCordova;
|
var isCordova = platformInfo.isCordova;
|
||||||
var fc = profileService.focusedClient;
|
var fc = profileService.focusedClient;
|
||||||
$scope.isEncrypted = fc.isPrivKeyEncrypted();
|
$scope.isEncrypted = fc.isPrivKeyEncrypted();
|
||||||
$scope.touchIdError = null;
|
|
||||||
$scope.error = null;
|
$scope.error = null;
|
||||||
$scope.success = null;
|
$scope.success = null;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ angular.module('copayApp.controllers').controller('preferencesDeleteWordsControl
|
||||||
confirmDialog.show(msg, function(ok) {
|
confirmDialog.show(msg, function(ok) {
|
||||||
if (ok) {
|
if (ok) {
|
||||||
fc.clearMnemonic();
|
fc.clearMnemonic();
|
||||||
profileService.updateCredentials(fc.export(), function() {
|
profileService.updateCredentials(JSON.parse(fc.export()), function() {
|
||||||
notification.success(successMsg);
|
notification.success(successMsg);
|
||||||
go.walletHome();
|
go.walletHome();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue