Transaction id fixed

This commit is contained in:
Gabriel Masclef 2017-07-14 10:18:36 -03:00
parent c9cdd91741
commit 372b4697e7
2 changed files with 7 additions and 6 deletions

View File

@ -511,7 +511,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
if (err) return setSendError(err);
if (config.notifyIfTxConfirmed && config.notifyIfTxConfirmed.enabled) {
txConfirmNotification.subscribe(wallet, {
txid: txp.id
txid: txp.txid
});
}
}, onSendStatusChange);

View File

@ -19,6 +19,12 @@
</div>
</div>
<div ng-if="PNEnabledByUser">
<ion-toggle ng-model="notifyIfTxConfirmed.value" toggle-class="toggle-balanced" ng-change="notifyIfTxConfirmedChange()" ng-if="usePushNotifications" ng-show="pushNotifications.value">
<span class="toggle-label" translate>Notify me when transactions are confirmed</span>
</ion-toggle>
</div>
<ion-toggle ng-model="emailNotifications.value" toggle-class="toggle-balanced" ng-change="emailNotificationsChange()">
<span class="toggle-label" translate>Enable email notifications</span>
</ion-toggle>
@ -44,11 +50,6 @@
</form>
</div>
<div ng-if="PNEnabledByUser">
<ion-toggle ng-model="notifyIfTxConfirmed.value" toggle-class="toggle-balanced" ng-change="notifyIfTxConfirmedChange()" ng-if="usePushNotifications">
<span class="toggle-label" translate>Notify me when confirm transactions</span>
</ion-toggle>
</div>
</div>
</ion-content>