add color to copayers modal
This commit is contained in:
parent
8886979a9a
commit
11980bcdf8
2 changed files with 3 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="middle tab-bar-section">
|
<section class="middle tab-bar-section">
|
||||||
<h1 class="title ellipsis" translate>
|
<h1 class="title ellipsis" ng-style="{'color':color}" translate>
|
||||||
Copayers
|
Copayers
|
||||||
</h1>
|
</h1>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,11 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
|
|
||||||
|
|
||||||
$scope.openCopayersModal = function(copayers, copayerId) {
|
$scope.openCopayersModal = function(copayers, copayerId) {
|
||||||
|
var fc = profileService.focusedClient;
|
||||||
var ModalInstanceCtrl = function($scope, $modalInstance) {
|
var ModalInstanceCtrl = function($scope, $modalInstance) {
|
||||||
$scope.copayers = copayers;
|
$scope.copayers = copayers;
|
||||||
$scope.copayerId = copayerId;
|
$scope.copayerId = copayerId;
|
||||||
|
$scope.color = fc.backgroundColor;
|
||||||
$scope.cancel = function() {
|
$scope.cancel = function() {
|
||||||
$modalInstance.dismiss('cancel');
|
$modalInstance.dismiss('cancel');
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue