Merge pull request #6025 from cmgustavo/ref/pref-email-01

Ref/pref email 01
This commit is contained in:
Gabriel Edgardo Bazán 2017-05-15 15:30:00 -03:00 committed by GitHub
commit 459c005a46
6 changed files with 79 additions and 68 deletions

View file

@ -1120,7 +1120,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
}
});
})
.run(function($rootScope, $state, $location, $log, $timeout, startupService, fingerprintService, $ionicHistory, $ionicPlatform, $window, appConfigService, lodash, platformInfo, profileService, uxLanguage, gettextCatalog, openURLService, storageService, scannerService, configService, /* plugins START HERE => */ coinbaseService, glideraService, amazonService, bitpayCardService, applicationService) {
.run(function($rootScope, $state, $location, $log, $timeout, startupService, fingerprintService, $ionicHistory, $ionicPlatform, $window, appConfigService, lodash, platformInfo, profileService, uxLanguage, gettextCatalog, openURLService, storageService, scannerService, configService, emailService, /* plugins START HERE => */ coinbaseService, glideraService, amazonService, bitpayCardService, applicationService) {
uxLanguage.init();
@ -1233,8 +1233,9 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
applicationService.appLockModal('check');
});
};
// After everything have been loaded, initialize handler URL
// After everything have been loaded
$timeout(function() {
emailService.init(); // Update email subscription if necessary
openURLService.init();
}, 1000);
});