feedback and history update
This commit is contained in:
parent
402a406827
commit
c20cccedc2
4 changed files with 18 additions and 4 deletions
|
|
@ -910,6 +910,19 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
});
|
||||
};
|
||||
|
||||
self.clearHistoryFeedback = function() {
|
||||
self.txHistory = [];
|
||||
$log.debug('The wallet transaction history has been deleted');
|
||||
self.setOngoingProcess('deletingHistory', true);
|
||||
|
||||
self.updateHistory();
|
||||
go.walletHome();
|
||||
|
||||
$timeout(function() {
|
||||
self.setOngoingProcess('deletingHistory', false);
|
||||
}, 2000);
|
||||
};
|
||||
|
||||
self.setUxLanguage = function() {
|
||||
var userLang = uxLanguage.update();
|
||||
self.defaultLanguageIsoCode = userLang;
|
||||
|
|
@ -1256,4 +1269,4 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.setFocusedWallet();
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue