fix push notifications and remove onboarding email

This commit is contained in:
Gabriel Bazán 2016-10-08 20:19:55 -03:00
commit 3320510d35
9 changed files with 74 additions and 53 deletions

View file

@ -296,7 +296,8 @@ angular.module('copayApp.services')
if (!val) {
return cb(new Error('NONAGREEDDISCLAIMER: Non agreed disclaimer'));
}
if (usePushNotifications)
var config = configService.getSync();
if (config.pushNotifications.enabled && usePushNotifications)
root.pushNotificationsInit();
return cb();
});