fix android topbar

This commit is contained in:
Gustavo Maximiliano Cortez 2016-06-17 09:27:44 -03:00
commit 2bac6b8c6b
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -563,8 +563,7 @@ 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.show();
if (isCordova && StatusBar.isVisible) {
StatusBar.backgroundColorByHexString(fc.backgroundColor);
}
};
@ -1656,9 +1655,6 @@ angular.module('copayApp.controllers').controller('indexController', function($r
self.noFocusedWallet = true;
self.isComplete = null;
self.walletName = null;
if (isCordova && StatusBar.isVisible) {
StatusBar.hide();
}
uxLanguage.update();
});
});