Change back color when moving back from wallet detail view to home screen.

This commit is contained in:
Sebastiaan Pasma 2018-05-16 14:22:37 +02:00 committed by Sebastiaan Pasma
commit cc94e1c630

View file

@ -410,8 +410,7 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
$scope.$on("$ionicView.afterLeave", function(event, data) {
$interval.cancel(refreshInterval);
if ($window.StatusBar) {
var statusBarColor = appConfigService.name == 'copay' ? '#192c3a' : '#1e3186';
$window.StatusBar.backgroundColorByHexString(statusBarColor);
$window.StatusBar.backgroundColorByHexString('#000000');
}
});