fix status

This commit is contained in:
Matias Alejo Garcia 2016-08-23 12:10:48 -03:00
commit 2897aa3e4c
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
9 changed files with 21 additions and 155 deletions

View file

@ -1,6 +1,6 @@
'use strict';
angular.module('copayApp.services')
.factory('profileService', function profileServiceFactory($rootScope, $timeout, $filter, $log, sjcl, lodash, storageService, bwcService, configService, notificationService, pushNotificationsService, gettext, gettextCatalog, bwcError, uxLanguage, bitcore, platformInfo, $ionicHistory) {
.factory('profileService', function profileServiceFactory($rootScope, $timeout, $filter, $log, sjcl, lodash, storageService, bwcService, configService, pushNotificationsService, gettext, gettextCatalog, bwcError, uxLanguage, bitcore, platformInfo, $ionicHistory) {
var isChromeApp = platformInfo.isChromeApp;
@ -67,9 +67,7 @@ angular.module('copayApp.services')
wallet.on('notification', function(n) {
$log.debug('BWC Notification:', n);
notificationService.newBWCNotification(n,
walletId, wallet.credentials.walletName);
// notification?
// TODO (put this in wallet ViewModel)
if (wallet.cachedStatus)