send all button appear
This commit is contained in:
parent
6cb373f961
commit
5d2f6782e2
2 changed files with 12 additions and 14 deletions
|
|
@ -1315,13 +1315,10 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
fee: feeStr
|
||||
});
|
||||
|
||||
if (amount - parseInt(feeStr) > 0) {
|
||||
confirmDialog.show(msg, function(confirmed) {
|
||||
if (confirmed)
|
||||
self._doSendAll(amount, feeRate);
|
||||
});
|
||||
} else
|
||||
$rootScope.$emit('Local/ShowAlert', gettextCatalog.getString('Not enough funds for network fees'));
|
||||
confirmDialog.show(msg, function(confirmed) {
|
||||
if (confirmed)
|
||||
self._doSendAll(amount, feeRate);
|
||||
});
|
||||
};
|
||||
|
||||
/* Start setup */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue