diff --git a/src/js/controllers/addresses.js b/src/js/controllers/addresses.js index 34b446dad..26f683e76 100644 --- a/src/js/controllers/addresses.js +++ b/src/js/controllers/addresses.js @@ -1,6 +1,6 @@ 'use strict'; -angular.module('copayApp.controllers').controller('addressesController', function($scope, $stateParams, $timeout, $ionicScrollDelegate, configService, popupService, gettextCatalog, ongoingProcess, lodash, profileService, walletService) { +angular.module('copayApp.controllers').controller('addressesController', function($scope, $stateParams, $state, $timeout, $ionicScrollDelegate, configService, popupService, gettextCatalog, ongoingProcess, lodash, profileService, walletService) { var UNUSED_ADDRESS_LIMIT = 5; var BALANCE_ADDRESS_LIMIT = 5; var config; @@ -60,6 +60,12 @@ angular.module('copayApp.controllers').controller('addressesController', functio }); }; + $scope.viewAllAddresses = function() { + $state.go('tabs.receive.allAddresses', { + walletId: $scope.wallet.id + }); + }; + $scope.showInformation = function() { $timeout(function() { $scope.showInfo = !$scope.showInfo; diff --git a/src/sass/views/addresses.scss b/src/sass/views/addresses.scss index 130c66c36..00af459d0 100644 --- a/src/sass/views/addresses.scss +++ b/src/sass/views/addresses.scss @@ -61,12 +61,17 @@ i { font-size: 35px; margin-right: 5px; - color: #434CBE; + color: #647ce8; } - a { + span { + color: #647ce8; font-weight: bold; } } + i { + font-size: 35px; + margin-right: 5px; + } } .item-note { color: $light-gray; diff --git a/www/views/addresses.html b/www/views/addresses.html index 5f89ad7a8..b80a1a686 100644 --- a/www/views/addresses.html +++ b/www/views/addresses.html @@ -51,8 +51,8 @@