fix freeze app after change fee level using send max
This commit is contained in:
parent
0ed8c8e061
commit
ae92d91a37
1 changed files with 8 additions and 6 deletions
|
|
@ -287,7 +287,9 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
tx.toAmount = tx.sendMaxInfo.amount;
|
tx.toAmount = tx.sendMaxInfo.amount;
|
||||||
updateAmount();
|
updateAmount();
|
||||||
ongoingProcess.set('calculatingFee', false);
|
ongoingProcess.set('calculatingFee', false);
|
||||||
showSendMaxWarning(wallet, sendMaxInfo);
|
$timeout(function() {
|
||||||
|
showSendMaxWarning(wallet, sendMaxInfo);
|
||||||
|
}, 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
// txp already generated for this wallet?
|
// txp already generated for this wallet?
|
||||||
|
|
@ -347,11 +349,11 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
$scope.buttonText = gettextCatalog.getString('Click to accept');
|
$scope.buttonText = gettextCatalog.getString('Click to accept');
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
if (isCordova && !isWindowsPhoneApp) {
|
if (isCordova && !isWindowsPhoneApp) {
|
||||||
$scope.buttonText = gettextCatalog.getString('Slide to send');
|
$scope.buttonText = gettextCatalog.getString('Slide to send');
|
||||||
} else {
|
} else {
|
||||||
$scope.buttonText = gettextCatalog.getString('Click to send');
|
$scope.buttonText = gettextCatalog.getString('Click to send');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue