From 7517a409a1a502c747eb4598492a88cec4e8d58c Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 19 Sep 2021 07:26:25 +0530 Subject: fix: fix js error; styling --- recipes/misskey/package.json | 2 +- recipes/misskey/webview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/misskey') diff --git a/recipes/misskey/package.json b/recipes/misskey/package.json index 66bdd3c..056e9b6 100644 --- a/recipes/misskey/package.json +++ b/recipes/misskey/package.json @@ -1,7 +1,7 @@ { "id": "misskey", "name": "Misskey", - "version": "1.0.0", + "version": "1.0.1", "license": "MIT", "repository": "https://github.com/sharkpp/franz-recipe-misskey", "config": { diff --git a/recipes/misskey/webview.js b/recipes/misskey/webview.js index b024ce1..c174266 100644 --- a/recipes/misskey/webview.js +++ b/recipes/misskey/webview.js @@ -1,5 +1,5 @@ module.exports = (Ferdi) => { - const getMessages = function getMessages() { + const getMessages = () => { // check notification badge for Ferdi badge let hasNotification = !!document.querySelector('#app div.notifications > button > i.circle'); Ferdi.setBadge(0, hasNotification ? 1 : 0); -- cgit v1.2.3-70-g09d2