From 099f02943602d42d42bc20fd173f81af7da40625 Mon Sep 17 00:00:00 2001 From: André Oliveira <37463445+SpecialAro@users.noreply.github.com> Date: Tue, 9 Apr 2024 23:47:47 +0100 Subject: Fix notion calendar login (#529) --- recipes/notion-calendar/webview.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'recipes/notion-calendar/webview.js') diff --git a/recipes/notion-calendar/webview.js b/recipes/notion-calendar/webview.js index 2a81dec..c27c226 100644 --- a/recipes/notion-calendar/webview.js +++ b/recipes/notion-calendar/webview.js @@ -5,12 +5,6 @@ function _interopRequireDefault(obj) { const _path = _interopRequireDefault(require('path')); module.exports = Ferdium => { - // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges - // const getMessages = () => { - // // TODO: Insert your notification-finding code here - // Ferdium.setBadge(0, 0); - // }; - // Ferdium.loop(getMessages); - Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); + Ferdium.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js')); }; -- cgit v1.2.3-70-g09d2