diff --git a/src/app/home/home.page.ts b/src/app/home/home.page.ts
index 8415ed43f..cef00976b 100644
--- a/src/app/home/home.page.ts
+++ b/src/app/home/home.page.ts
@@ -81,6 +81,19 @@ export class HomePage implements OnInit {
document.querySelectorAll('ion-modal').forEach((e: any) => e.remove())
});
+
+ // if (typeof Worker !== 'undefined') {
+ // // Create a new
+ // const worker = new Worker(new URL('./nice.worker.ts', import.meta.url));
+ // worker.onmessage = ({ data }) => {
+ // console.log(`page got message: ${data}`);
+ // };
+ // worker.postMessage('hello');
+ // } else {
+ // // Web workers are not supported in this environment.
+ // // You should add a fallback so that your program still executes correctly.
+ // }
+
{
//this.folderId = this.navParams.get('folderId');
}
diff --git a/src/app/home/nice.worker.ts b/src/app/home/nice.worker.ts
new file mode 100644
index 000000000..c2275749d
--- /dev/null
+++ b/src/app/home/nice.worker.ts
@@ -0,0 +1,6 @@
+// /
{{capturedImageTitle}}
+size
+{{capturedImageTitle}}
-size
-