change settings tab name
This commit is contained in:
parent
141e8bddd3
commit
360ccd724d
3 changed files with 3 additions and 5 deletions
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('BackupController',
|
angular.module('copayApp.controllers').controller('BackupController',
|
||||||
function($scope, $rootScope, $location, $window, $timeout, $modal, backupService, walletFactory, controllerUtils) {
|
function($scope, $rootScope, $location, $window, $timeout, $modal, backupService, walletFactory, controllerUtils) {
|
||||||
$scope.title = 'Settings';
|
|
||||||
|
|
||||||
$scope.download = function() {
|
$scope.download = function() {
|
||||||
backupService.download($rootScope.wallet);
|
backupService.download($rootScope.wallet);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@ angular.module('copayApp.controllers').controller('HeaderController',
|
||||||
'icon': 'fi-arrow-right',
|
'icon': 'fi-arrow-right',
|
||||||
'link': '#/send'
|
'link': '#/send'
|
||||||
}, {
|
}, {
|
||||||
'title': 'Settings',
|
'title': 'More...',
|
||||||
'icon': 'fi-wrench',
|
'icon': 'fi-download',
|
||||||
'link': '#/backup'
|
'link': '#/backup'
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ describe("Unit: Controllers", function() {
|
||||||
}));
|
}));
|
||||||
|
|
||||||
it('Should have a Backup controller', function() {
|
it('Should have a Backup controller', function() {
|
||||||
expect(scope.title).equal('Settings');
|
expect(scope.title).to.be.an('undefined');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Backup controller #download', function() {
|
it('Backup controller #download', function() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue