Uses object for level options

This commit is contained in:
Gustavo Maximiliano Cortez 2015-07-30 15:26:16 -03:00
commit 458a17e0be
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
4 changed files with 9 additions and 9 deletions

View file

@ -10,12 +10,10 @@ angular.module('copayApp.controllers').controller('indexController', function($r
return (parseFloat(number.toPrecision(12)));
};
self.goHome = function() {
go.walletHome();
};
self.menu = [{
'title': gettext('Home'),
'icon': 'icon-home',
@ -66,6 +64,8 @@ angular.module('copayApp.controllers').controller('indexController', function($r
isoCode: 'ja',
}];
self.feeOpts = feeService.feeOpts;
self.setOngoingProcess = function(processName, isOn) {
$log.debug('onGoingProcess', processName, isOn);
self[processName] = isOn;