mirror of https://github.com/BTCPrivate/copay.git
use txp wallet id for confirm button color
This commit is contained in:
parent
02140af96a
commit
2cb099057e
|
@ -31,7 +31,7 @@
|
|||
</button>
|
||||
</div>
|
||||
<div class="half-row left">
|
||||
<button ng-click="accept()" class="round expand" ng-style="{'background-color':index.backgroundColor}" autofocus>
|
||||
<button ng-click="accept()" class="round expand" ng-style="{'background-color': color}" autofocus>
|
||||
<span class="size-12" translate>Confirm</span>
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
@ -1689,8 +1689,10 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
|
||||
function openConfirmationPopup(txp, cb) {
|
||||
|
||||
$scope.tx = txFormatService.processTx(txp);
|
||||
var config = configService.getSync();
|
||||
|
||||
$scope.color = config.colorFor[txp.walletId];
|
||||
$scope.tx = txFormatService.processTx(txp);
|
||||
self.confirmationPopup = $ionicPopup.show({
|
||||
templateUrl: 'views/includes/confirm-tx.html',
|
||||
scope: $scope,
|
||||
|
|
Loading…
Reference in New Issue