Merge pull request #6709 from JDonadio/ref/send-max-desktop

Fix send max changing fee level on desktop
This commit is contained in:
Gustavo Maximiliano Cortez 2017-09-07 17:14:10 -03:00 committed by GitHub
commit bd222a906a

View file

@ -287,7 +287,9 @@ angular.module('copayApp.controllers').controller('confirmController', function(
tx.toAmount = tx.sendMaxInfo.amount;
updateAmount();
ongoingProcess.set('calculatingFee', false);
showSendMaxWarning(wallet, sendMaxInfo);
$timeout(function() {
showSendMaxWarning(wallet, sendMaxInfo);
}, 200);
}
// txp already generated for this wallet?
@ -347,11 +349,11 @@ angular.module('copayApp.controllers').controller('confirmController', function(
$scope.buttonText = gettextCatalog.getString('Click to accept');
}
} else
if (isCordova && !isWindowsPhoneApp) {
$scope.buttonText = gettextCatalog.getString('Slide to send');
} else {
$scope.buttonText = gettextCatalog.getString('Click to send');
}
if (isCordova && !isWindowsPhoneApp) {
$scope.buttonText = gettextCatalog.getString('Slide to send');
} else {
$scope.buttonText = gettextCatalog.getString('Click to send');
}
};