Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/app/features/contacts/contacts.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ export class ContactsPage {
catchError((err: unknown) => this.errorService.toastError$(err)),
untilDestroyed(this)
)
.subscribe();
.subscribe({
// eslint-disable-next-line no-console
error: (err: unknown) => console.error(err),
});
}

// eslint-disable-next-line class-methods-use-this
Expand Down
5 changes: 4 additions & 1 deletion src/app/features/data-policy/data-policy.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ export class DataPolicyPage {
}),
untilDestroyed(this)
)
.subscribe();
.subscribe({
// eslint-disable-next-line no-console
error: (err: unknown) => console.error(err),
});
}
}
10 changes: 8 additions & 2 deletions src/app/features/signup/signup.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ export class SignupPage {
),
untilDestroyed(this)
)
.subscribe();
.subscribe({
// eslint-disable-next-line no-console
error: (err: unknown) => console.error(err),
});
}

private createFormFields(
Expand Down Expand Up @@ -237,7 +240,10 @@ export class SignupPage {
this.blockingActionService
.run$(action$)
.pipe(untilDestroyed(this))
.subscribe();
.subscribe({
// eslint-disable-next-line no-console
error: (err: unknown) => console.error(err),
});
}

private handleOnSubmitError(err: unknown) {
Expand Down
30 changes: 23 additions & 7 deletions src/app/features/wallets/transfer/transfer.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,13 @@ export class TransferPage {
private readonly platform: Platform,
private readonly snackBar: MatSnackBar
) {
this.activeRoute.paramMap.subscribe(paramMap => {
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
this.mode = paramMap.get('mode')!;
this.activeRoute.paramMap.subscribe({
next: paramMap => {
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
this.mode = paramMap.get('mode')!;
},
// eslint-disable-next-line no-console
error: (err: unknown) => console.error(err),
});
}

Expand All @@ -84,7 +88,10 @@ export class TransferPage {
),
untilDestroyed(this)
)
.subscribe();
.subscribe({
// eslint-disable-next-line no-console
error: (err: unknown) => console.error(err),
});
}

onInputTransferAmount() {
Expand All @@ -98,7 +105,10 @@ export class TransferPage {
this.translocoService.translate('error.wallets.emptyTransferAmount')
)
.pipe(untilDestroyed(this))
.subscribe();
.subscribe({
// eslint-disable-next-line no-console
error: (err: unknown) => console.error(err),
});
return;
}

Expand Down Expand Up @@ -156,7 +166,10 @@ export class TransferPage {
}),
untilDestroyed(this)
)
.subscribe();
.subscribe({
// eslint-disable-next-line no-console
error: (err: unknown) => console.error(err),
});
}

transfer() {
Expand All @@ -180,7 +193,10 @@ export class TransferPage {
finalize(() => dialogRef.close()),
untilDestroyed(this)
)
.subscribe();
.subscribe({
// eslint-disable-next-line no-console
error: (err: unknown) => console.error(err),
});
}

openTransferRequestSentDialog() {
Expand Down
25 changes: 20 additions & 5 deletions src/app/features/wallets/wallets.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ export class WalletsPage {
}),
untilDestroyed(this)
)
.subscribe();
.subscribe({
// eslint-disable-next-line no-console
error: (err: unknown) => console.error(err),
});
}

private reloadPage() {
Expand All @@ -103,7 +106,10 @@ export class WalletsPage {
}),
untilDestroyed(this)
)
.subscribe();
.subscribe({
// eslint-disable-next-line no-console
error: (err: unknown) => console.error(err),
});
}

private copyToClipboardAssetWallet() {
Expand All @@ -113,7 +119,10 @@ export class WalletsPage {
concatMap(assetWalletAddr => this.copyToClipboard(assetWalletAddr)),
untilDestroyed(this)
)
.subscribe();
.subscribe({
// eslint-disable-next-line no-console
error: (err: unknown) => console.error(err),
});
}

private copyToClipboardIntegrityWallet() {
Expand All @@ -123,7 +132,10 @@ export class WalletsPage {
concatMap(publicKey => this.copyToClipboard(publicKey)),
untilDestroyed(this)
)
.subscribe();
.subscribe({
// eslint-disable-next-line no-console
error: (err: unknown) => console.error(err),
});
}

private copyToClipboardPrivateKey() {
Expand All @@ -133,7 +145,10 @@ export class WalletsPage {
concatMap(privateKey => this.copyToClipboard(privateKey)),
untilDestroyed(this)
)
.subscribe();
.subscribe({
// eslint-disable-next-line no-console
error: (err: unknown) => console.error(err),
});
}

navigateToBuyNumPage() {
Expand Down
Loading