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'; self.backgroundColor = config.colorFor[self.walletId] || '#4A90E2';
var fc = profileService.focusedClient; var fc = profileService.focusedClient;
fc.backgroundColor = self.backgroundColor; fc.backgroundColor = self.backgroundColor;
if (isCordova) { if (isCordova && StatusBar.isVisible) {
StatusBar.show();
StatusBar.backgroundColorByHexString(fc.backgroundColor); StatusBar.backgroundColorByHexString(fc.backgroundColor);
} }
}; };
@ -1656,9 +1655,6 @@ angular.module('copayApp.controllers').controller('indexController', function($r
self.noFocusedWallet = true; self.noFocusedWallet = true;
self.isComplete = null; self.isComplete = null;
self.walletName = null; self.walletName = null;
if (isCordova && StatusBar.isVisible) {
StatusBar.hide();
}
uxLanguage.update(); uxLanguage.update();
}); });
}); });