From 18801ed0c02627e87639dc0848cab44dacc18be2 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 18 Apr 2022 06:51:50 -0500 Subject: Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2) --- recipes/misskey/index.js | 4 ++-- recipes/misskey/package.json | 2 +- recipes/misskey/webview.js | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'recipes/misskey') diff --git a/recipes/misskey/index.js b/recipes/misskey/index.js index 51960a6..14168a3 100644 --- a/recipes/misskey/index.js +++ b/recipes/misskey/index.js @@ -1,5 +1,5 @@ -module.exports = Ferdi => - class Misskey extends Ferdi { +module.exports = Ferdium => + class Misskey extends Ferdium { constructor(...args) { let _temp; // eslint-disable-next-line constructor-super diff --git a/recipes/misskey/package.json b/recipes/misskey/package.json index 056e9b6..b1664cb 100644 --- a/recipes/misskey/package.json +++ b/recipes/misskey/package.json @@ -1,7 +1,7 @@ { "id": "misskey", "name": "Misskey", - "version": "1.0.1", + "version": "1.1.0", "license": "MIT", "repository": "https://github.com/sharkpp/franz-recipe-misskey", "config": { diff --git a/recipes/misskey/webview.js b/recipes/misskey/webview.js index 65fa237..554feb0 100644 --- a/recipes/misskey/webview.js +++ b/recipes/misskey/webview.js @@ -1,11 +1,11 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { - // check notification badge for Ferdi badge + // check notification badge for Ferdium badge let hasNotification = !!document.querySelector( '#app div.notifications > button > i.circle', ); - Ferdi.setBadge(0, hasNotification ? 1 : 0); + Ferdium.setBadge(0, hasNotification ? 1 : 0); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-70-g09d2