diff --git a/src/pages/exchange-crypto/exchange-crypto.ts b/src/pages/exchange-crypto/exchange-crypto.ts index 01d6efa754f..dd12584c4a6 100644 --- a/src/pages/exchange-crypto/exchange-crypto.ts +++ b/src/pages/exchange-crypto/exchange-crypto.ts @@ -182,12 +182,16 @@ export class ExchangeCryptoPage { this.getExchangesCurrencies(); this.onPauseSubscription = this.platform.pause.subscribe(() => { + this.logger.debug('Swap - onPauseSubscription called'); if (this.timeout) { + this.logger.debug('Swap - onPauseSubscription clearing timeout'); clearTimeout(this.timeout); } }); this.onResumeSubscription = this.platform.resume.subscribe(() => { + this.logger.debug('Swap - onResumeSubscription called'); if (this.exchangeToUse == '1inch' && !this.fromWalletAllowanceOk) { + this.logger.debug('Swap - onResumeSubscription checking Confirmation'); this.checkConfirmation(1000); } });