Use undefine instead of null
This commit is contained in:
parent
468b7e1595
commit
1cdc76f5a4
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ export class Platform {
|
|||
this._serviceWorkerHandler = new ServiceWorkerHandler();
|
||||
this._serviceWorkerHandler.registerAndStart(assetPaths.serviceWorker);
|
||||
}
|
||||
this.notificationService = null;
|
||||
this.notificationService = undefined;
|
||||
// Only try to use crypto when olm is provided
|
||||
if(this._assetPaths.olm) {
|
||||
this.crypto = new Crypto(cryptoExtras);
|
||||
|
|
Reference in a new issue