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

@ -4,11 +4,11 @@ angular.module('copayApp.services').factory('feeService', function($log, profile
var root = {};
// Constant fee options to translate
var feeOpts = [
gettextCatalog.getString('priority'),
gettextCatalog.getString('normal'),
gettextCatalog.getString('economy')
];
root.feeOpts = {
priority: gettextCatalog.getString('Priority'),
normal: gettextCatalog.getString('Normal'),
economy: gettextCatalog.getString('Economy')
};
root.getCurrentFeeValue = function(cb) {
var fc = profileService.focusedClient;