fix refreshUntilItChanges

This commit is contained in:
Matias Alejo Garcia 2015-05-29 12:39:17 -03:00
commit b32b29259a
3 changed files with 22 additions and 11 deletions

View file

@ -15,6 +15,10 @@ angular.module('copayApp.services')
};
root.storeLast = function(notificationData, walletId) {
if (notificationData.type == 'NewAddress')
return;
lastNotificationOnWallet[walletId] = {
creatorId: notificationData.creatorId,
type: notificationData.type,
@ -38,7 +42,6 @@ angular.module('copayApp.services')
&& notificationData.type === 'TxProposalFinallyRejected')
return true;
return false;
};
@ -73,7 +76,7 @@ angular.module('copayApp.services')
name, {color: color} );
break;
case 'NewOutgoingTx':
notification.sent(gettext('Payment Proposal Sent'),
notification.sent(gettext('Payment Sent'),
name, {color: color} );
break;
case 'NewIncomingTx':