aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nextcloud
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
commit18801ed0c02627e87639dc0848cab44dacc18be2 (patch)
tree15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/nextcloud
parentRemove deprecated webPreference flag (diff)
downloadferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.gz
ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.zst
ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.zip
Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2)
Diffstat (limited to 'recipes/nextcloud')
-rw-r--r--recipes/nextcloud/index.js2
-rw-r--r--recipes/nextcloud/package.json2
-rw-r--r--recipes/nextcloud/webview.js6
3 files changed, 5 insertions, 5 deletions
diff --git a/recipes/nextcloud/index.js b/recipes/nextcloud/index.js
index 66d3347..4618097 100644
--- a/recipes/nextcloud/index.js
+++ b/recipes/nextcloud/index.js
@@ -1,4 +1,4 @@
1module.exports = Ferdi => class Nextcloud extends Ferdi { 1module.exports = Ferdium => class Nextcloud extends Ferdium {
2 buildUrl(url) { 2 buildUrl(url) {
3 return `${url}/`; 3 return `${url}/`;
4 } 4 }
diff --git a/recipes/nextcloud/package.json b/recipes/nextcloud/package.json
index 409ebc9..de475f6 100644
--- a/recipes/nextcloud/package.json
+++ b/recipes/nextcloud/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "nextcloud", 2 "id": "nextcloud",
3 "name": "Nextcloud", 3 "name": "Nextcloud",
4 "version": "1.1.1", 4 "version": "1.2.0",
5 "license": "MIT", 5 "license": "MIT",
6 "repository": "https://github.com/eandersons/ferdi-recipe-nextcloud", 6 "repository": "https://github.com/eandersons/ferdi-recipe-nextcloud",
7 "config": { 7 "config": {
diff --git a/recipes/nextcloud/webview.js b/recipes/nextcloud/webview.js
index 9072ecf..786f7a8 100644
--- a/recipes/nextcloud/webview.js
+++ b/recipes/nextcloud/webview.js
@@ -1,11 +1,11 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
2 const getMessages = () => { 2 const getMessages = () => {
3 const direct = document.querySelectorAll( 3 const direct = document.querySelectorAll(
4 '.notifications .notification-container .notification-wrapper li .notification', 4 '.notifications .notification-container .notification-wrapper li .notification',
5 ).length; 5 ).length;
6 6
7 Ferdi.setBadge(direct); 7 Ferdium.setBadge(direct);
8 }; 8 };
9 9
10 Ferdi.loop(getMessages); 10 Ferdium.loop(getMessages);
11}; 11};