change color wallet default

This commit is contained in:
bechi 2015-04-16 11:54:22 -03:00
commit d9a4967c71
5 changed files with 4 additions and 5 deletions

View file

@ -264,7 +264,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
self.updateColor = function() {
var config = configService.getSync();
config.colorFor = config.colorFor || {};
self.backgroundColor = config.colorFor[self.walletId] || '#1ABC9C';
self.backgroundColor = config.colorFor[self.walletId] || '#2C3E50';
var fc = profileService.focusedClient;
fc.backgroundColor = self.backgroundColor;
};

View file

@ -19,7 +19,7 @@ angular.module('copayApp.controllers').controller('preferencesColorController',
var config = configService.getSync();
config.colorFor = config.colorFor || {};
this.color = config.colorFor[walletId] || '#1ABC9C';
this.color = config.colorFor[walletId] || '#2C3E50';
this.save = function(color) {
var self = this;

View file

@ -41,7 +41,7 @@ angular.module('copayApp.controllers').controller('sidebarController',
n: c.n,
name: c.walletName,
id: c.walletId,
color: config.colorFor[c.walletId] || '#1ABC9C',
color: config.colorFor[c.walletId] || '#2C3E50',
};
});
self.wallets = lodash.sortBy(ret, 'walletName');