Change top-bar color

This commit is contained in:
Gustavo Maximiliano Cortez 2015-12-01 17:16:39 -03:00
commit 0c06a3d460
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
17 changed files with 60 additions and 76 deletions

View file

@ -562,6 +562,9 @@ angular.module('copayApp.controllers').controller('indexController', function($r
self.backgroundColor = config.colorFor[self.walletId] || '#4A90E2';
var fc = profileService.focusedClient;
fc.backgroundColor = self.backgroundColor;
if (isCordova && StatusBar.isVisible) {
StatusBar.backgroundColorByHexString(fc.backgroundColor);
}
};
self.setBalance = function(balance) {