prelim styling of payment proposal modal

This commit is contained in:
Marty Alcala 2016-10-11 14:45:54 -04:00
commit 288d122b3d
4 changed files with 76 additions and 24 deletions

View file

@ -18,10 +18,20 @@ angular.module('copayApp.controllers').controller('txpDetailsController', functi
$scope.color = $scope.wallet.color;
$scope.data = {};
$scope.hasClick = platformInfo.hasClick;
$scope.displayAmount = getDisplayAmount(tx.amountStr);
$scope.displayUnit = getDisplayUnit(tx.amountStr);
initActionList();
checkPaypro();
}
function getDisplayAmount(amountStr) {
return amountStr.split(' ')[0];
}
function getDisplayUnit(amountStr) {
return amountStr.split(' ')[1];
}
function initActionList() {
$scope.actionList = [];