Clear on send
This commit is contained in:
@@ -395,7 +395,10 @@
|
||||
const address = getValue('ID_Send_Address');
|
||||
const amount = getValue('ID_Send_Amount');
|
||||
AppActions.walletSend(address, amount, (success, reason) => {
|
||||
if (!success) {
|
||||
if (success) {
|
||||
setValue('ID_Send_Address', '');
|
||||
setValue('ID_Send_Amount', '');
|
||||
} else {
|
||||
displayErrorPopup('Send Failed', reason);
|
||||
}
|
||||
beginMainApplication(false);
|
||||
|
Reference in New Issue
Block a user