mirror of https://github.com/BTCPrivate/copay.git
remove console.log
This commit is contained in:
parent
dd26996529
commit
546a380742
|
@ -64,12 +64,9 @@ export class ScanPage {
|
||||||
this.scannerIsDenied = false;
|
this.scannerIsDenied = false;
|
||||||
this.scannerIsRestricted = false;
|
this.scannerIsRestricted = false;
|
||||||
this.canOpenSettings = false;
|
this.canOpenSettings = false;
|
||||||
console.log("#########################################CONSTRUCTOR");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ionViewDidLoad() {
|
ionViewDidLoad() {
|
||||||
console.log("#########################################VIEWDIDLOAD");
|
|
||||||
this.logger.info('ionViewDidLoad ScanPage');
|
this.logger.info('ionViewDidLoad ScanPage');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,14 +76,12 @@ export class ScanPage {
|
||||||
this.cameraToggleActive = false;
|
this.cameraToggleActive = false;
|
||||||
this.lightActive = false;
|
this.lightActive = false;
|
||||||
this.scanProvider.frontCameraEnabled = false;
|
this.scanProvider.frontCameraEnabled = false;
|
||||||
console.log("#########################################VIEWWILLLEAVE");
|
|
||||||
this.scanProvider.deactivate();
|
this.scanProvider.deactivate();
|
||||||
this.events.unsubscribe('incomingDataMenu.showMenu');
|
this.events.unsubscribe('incomingDataMenu.showMenu');
|
||||||
this.events.unsubscribe('scannerServiceInitialized');
|
this.events.unsubscribe('scannerServiceInitialized');
|
||||||
}
|
}
|
||||||
|
|
||||||
ionViewWillEnter() {
|
ionViewWillEnter() {
|
||||||
console.log("#########################################VIEWWILLENTER");
|
|
||||||
//TODO support for browser
|
//TODO support for browser
|
||||||
if (!this.platform.isCordova) {
|
if (!this.platform.isCordova) {
|
||||||
this.notSupportedMessage = this.translate.instant("Scanner not supported");
|
this.notSupportedMessage = this.translate.instant("Scanner not supported");
|
||||||
|
|
|
@ -212,7 +212,6 @@ export class ScanProvider {
|
||||||
}
|
}
|
||||||
this.hide();
|
this.hide();
|
||||||
this.destroy();
|
this.destroy();
|
||||||
console.log("#################################");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Natively hide the QRScanner's preview
|
// Natively hide the QRScanner's preview
|
||||||
|
|
Loading…
Reference in New Issue