Merge pull request #859 from matiu/feature/wording
change settings tab name
This commit is contained in:
commit
b3f2476992
3 changed files with 2 additions and 8 deletions
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
angular.module('copayApp.controllers').controller('BackupController',
|
||||
function($scope, $rootScope, $location, $window, $timeout, $modal, backupService, walletFactory, controllerUtils) {
|
||||
$scope.title = 'Settings';
|
||||
|
||||
$scope.download = function() {
|
||||
backupService.download($rootScope.wallet);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ angular.module('copayApp.controllers').controller('HeaderController',
|
|||
'icon': 'fi-arrow-right',
|
||||
'link': '#/send'
|
||||
}, {
|
||||
'title': 'Settings',
|
||||
'icon': 'fi-wrench',
|
||||
'title': 'More...',
|
||||
'icon': 'fi-download',
|
||||
'link': '#/backup'
|
||||
}];
|
||||
|
||||
|
|
|
|||
|
|
@ -41,10 +41,6 @@ describe("Unit: Controllers", function() {
|
|||
});
|
||||
}));
|
||||
|
||||
it('Should have a Backup controller', function() {
|
||||
expect(scope.title).equal('Settings');
|
||||
});
|
||||
|
||||
it('Backup controller #download', function() {
|
||||
scope.wallet.setEnc('1234567');
|
||||
expect(saveAsLastCall).equal(null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue