Fix UI calculator. Set default status bar color if no wallet selected

This commit is contained in:
Gustavo Maximiliano Cortez 2016-08-10 12:08:39 -03:00
commit 9982bef8df
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
9 changed files with 55 additions and 9 deletions

View file

@ -1,7 +1,11 @@
'use strict';
angular.module('copayApp.controllers').controller('glideraController',
function($rootScope, $scope, $timeout, $ionicModal, profileService, configService, storageService, glideraService, lodash, ongoingProcess) {
function($rootScope, $scope, $timeout, $ionicModal, profileService, configService, storageService, glideraService, lodash, ongoingProcess, platformInfo) {
if (platformInfo.isCordova && StatusBar.isVisible) {
StatusBar.backgroundColorByHexString("#4B6178");
}
this.getAuthenticateUrl = function() {
return glideraService.getOauthCodeUrl();