aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/googlemeet
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/googlemeet')
-rw-r--r--recipes/googlemeet/index.js2
-rw-r--r--recipes/googlemeet/package.json2
-rw-r--r--recipes/googlemeet/webview.js10
3 files changed, 7 insertions, 7 deletions
diff --git a/recipes/googlemeet/index.js b/recipes/googlemeet/index.js
index e5d1742..dd41f72 100644
--- a/recipes/googlemeet/index.js
+++ b/recipes/googlemeet/index.js
@@ -1 +1 @@
module.exports = Ferdi => class GoogleMeet extends Ferdi {}; module.exports = Ferdium => Ferdium;
diff --git a/recipes/googlemeet/package.json b/recipes/googlemeet/package.json
index f5b1a83..2f8f2f6 100644
--- a/recipes/googlemeet/package.json
+++ b/recipes/googlemeet/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "googlemeet", 2 "id": "googlemeet",
3 "name": "Google Meet", 3 "name": "Google Meet",
4 "version": "2.2.4", 4 "version": "2.3.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://meet.google.com", 7 "serviceURL": "https://meet.google.com",
diff --git a/recipes/googlemeet/webview.js b/recipes/googlemeet/webview.js
index 6ea36f3..f3c0f46 100644
--- a/recipes/googlemeet/webview.js
+++ b/recipes/googlemeet/webview.js
@@ -12,7 +12,7 @@ window.addEventListener('load', () => {
12 } 12 }
13}); 13});
14 14
15module.exports = (Ferdi, settings) => { 15module.exports = (Ferdium, settings) => {
16 const getMessages = () => { 16 const getMessages = () => {
17 const elements = document.querySelectorAll('.CxUIE, .unread'); 17 const elements = document.querySelectorAll('.CxUIE, .unread');
18 let count = 0; 18 let count = 0;
@@ -23,14 +23,14 @@ module.exports = (Ferdi, settings) => {
23 } 23 }
24 } 24 }
25 25
26 Ferdi.setBadge(count); 26 Ferdium.setBadge(count);
27 }; 27 };
28 28
29 Ferdi.loop(getMessages); 29 Ferdium.loop(getMessages);
30 30
31 window.addEventListener('beforeunload', async () => { 31 window.addEventListener('beforeunload', async () => {
32 Ferdi.clearStorageData(settings.id, { storages: ['serviceworkers'] }); 32 Ferdium.clearStorageData(settings.id, { storages: ['serviceworkers'] });
33 }); 33 });
34 34
35 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); 35 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
36}; 36};