Commit ab24317b authored by Ben Hayward's avatar Ben Hayward

Flipping logic on recurring wire cookie to default to on

1 merge request!630[Sprint/QuietQuial](feat}: Remembering previous state of recurring wire checkbox. #2001
Pipeline #93900084 canceled with stages
in 23 seconds
......@@ -246,9 +246,8 @@ export class WireCreatorComponent {
}
setDefaults() {
this.wire.amount = 1;
this.wire.recurring =
this.storage.get('preferred-recurring-wire-state') === '1';
this.storage.get('preferred-recurring-wire-state') !== '0';
let payloadType = this.storage.get('preferred-payment-method');
if (['onchain', 'offchain'].indexOf(payloadType) === -1) {
payloadType = 'offchain';
......
Please register or to comment