add navigation
This commit is contained in:
parent
3e156e7129
commit
3068f41a66
3 changed files with 16 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue