Feat: new setting to notify when a transaction is confirmed
This commit is contained in:
parent
f9125e1193
commit
c9cdd91741
6 changed files with 46 additions and 9 deletions
|
|
@ -43,6 +43,13 @@
|
|||
</button>
|
||||
</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>
|
||||
</ion-view>
|
||||
|
|
|
|||
|
|
@ -108,13 +108,15 @@ This transaction amount is too small compared to current Bitcoin network fees. S
|
|||
</span>
|
||||
</span>
|
||||
</div>
|
||||
<ion-toggle ng-show="!btx.confirmations || btx.confirmations == 0"
|
||||
class="toggle-unconfirmed"
|
||||
ng-model="txNotification.value"
|
||||
toggle-class="toggle-balanced"
|
||||
ng-change="txConfirmNotificationChange()">
|
||||
<span class="toggle-label" translate>Notify me if confirmed</span>
|
||||
</ion-toggle>
|
||||
<div ng-if="!notifyIfTxConfirmed">
|
||||
<ion-toggle ng-show="!btx.confirmations || btx.confirmations == 0"
|
||||
class="toggle-unconfirmed"
|
||||
ng-model="txNotification.value"
|
||||
toggle-class="toggle-balanced"
|
||||
ng-change="txConfirmNotificationChange()">
|
||||
<span class="toggle-label" translate>Notify me if confirmed</span>
|
||||
</ion-toggle>
|
||||
</div>
|
||||
<div ng-if="actionList[0]">
|
||||
<div class="item item-divider" translate>Timeline</div>
|
||||
<div class="item timeline-item" ng-class="{'action-created' : a.type == 'created' || a.type == 'accept', 'action-rejected' : a.type == 'reject'}" ng-repeat="a in actionList track by $index">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue