Fix style css for the from wallet & activate the from wallet in the send tab

This commit is contained in:
Jean-Baptiste Dominguez 2018-08-09 12:49:35 +09:00
commit 647e126169
3 changed files with 32 additions and 49 deletions

View file

@ -33,6 +33,9 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
text = text.substring(0, 200);
}
var stateParams = sendFlowService.getState();
$scope.fromWallet = profileService.getWallet(stateParams.fromWalletId);
$scope.clipboardHasAddress = false;
$scope.clipboardHasContent = false;
if ((text.indexOf('bitcoincash:') === 0 || text[0] === 'C' || text[0] === 'H' || text[0] === 'p' || text[0] === 'q') && text.replace('bitcoincash:', '').length === 42) { // CashAddr