remove next address button - add copy to clipboard - load list after transition
This commit is contained in:
parent
eed409b097
commit
b564be7275
7 changed files with 19 additions and 30 deletions
|
|
@ -111,7 +111,7 @@ angular.module('copayApp.controllers').controller('addressesController', functio
|
|||
});
|
||||
};
|
||||
|
||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
$scope.$on("$ionicView.afterEnter", function(event, data) {
|
||||
config = configService.getSync().wallet.settings;
|
||||
unitToSatoshi = config.unitToSatoshi;
|
||||
satToUnit = 1 / unitToSatoshi;
|
||||
|
|
|
|||
|
|
@ -776,10 +776,8 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
|
|||
root.getMainAddresses = function(wallet, opts, cb) {
|
||||
opts = opts || {};
|
||||
opts.reverse = true;
|
||||
|
||||
wallet.getMainAddresses(opts, function(err, addresses) {
|
||||
if (err) return cb(err);
|
||||
return cb(null, addresses);
|
||||
return cb(err, addresses);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue