aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/dropbox
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/dropbox')
-rw-r--r--recipes/dropbox/index.js2
-rw-r--r--recipes/dropbox/package.json2
-rw-r--r--recipes/dropbox/webview.js6
3 files changed, 5 insertions, 5 deletions
diff --git a/recipes/dropbox/index.js b/recipes/dropbox/index.js
index 325d5ec..dd41f72 100644
--- a/recipes/dropbox/index.js
+++ b/recipes/dropbox/index.js
@@ -1 +1 @@
module.exports = (Ferdi) => class Dropbox extends Ferdi {}; module.exports = Ferdium => Ferdium;
diff --git a/recipes/dropbox/package.json b/recipes/dropbox/package.json
index 21736c3..26d54f4 100644
--- a/recipes/dropbox/package.json
+++ b/recipes/dropbox/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "dropbox", 2 "id": "dropbox",
3 "name": "Dropbox", 3 "name": "Dropbox",
4 "version": "1.0.1", 4 "version": "1.1.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://www.dropbox.com/home", 7 "serviceURL": "https://www.dropbox.com/home",
diff --git a/recipes/dropbox/webview.js b/recipes/dropbox/webview.js
index 0740019..12478d3 100644
--- a/recipes/dropbox/webview.js
+++ b/recipes/dropbox/webview.js
@@ -1,8 +1,8 @@
1module.exports = (Ferdi) => { 1module.exports = (Ferdium) => {
2 const getMessages = () => { 2 const getMessages = () => {
3 const hasNotifications = document.querySelector(".dig-NotificationBadge"); 3 const hasNotifications = document.querySelector(".dig-NotificationBadge");
4 4
5 Ferdi.setBadge(0, hasNotifications ? 1 : 0); 5 Ferdium.setBadge(0, hasNotifications ? 1 : 0);
6 }; 6 };
7 Ferdi.loop(getMessages); 7 Ferdium.loop(getMessages);
8}; 8};