diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-11-10 18:13:31 +0530 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-11-10 18:13:31 +0530 |
commit | be49a2626a471d33ac0803eb2b5afa1807e2e23e (patch) | |
tree | a4df2f05b9b060fb878519a1b18eb73e7963316b /recipes/monicahq/webview.js | |
parent | Refactor mandatory files needed in each recipe (diff) | |
download | ferdium-recipes-be49a2626a471d33ac0803eb2b5afa1807e2e23e.tar.gz ferdium-recipes-be49a2626a471d33ac0803eb2b5afa1807e2e23e.tar.zst ferdium-recipes-be49a2626a471d33ac0803eb2b5afa1807e2e23e.zip |
Added 'webview.js' as a mandatory file and fixed broken recipes
Diffstat (limited to 'recipes/monicahq/webview.js')
-rw-r--r-- | recipes/monicahq/webview.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/monicahq/webview.js b/recipes/monicahq/webview.js new file mode 100644 index 0000000..86bb422 --- /dev/null +++ b/recipes/monicahq/webview.js | |||
@@ -0,0 +1,16 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
9 | // const getMessages = () => { | ||
10 | // // TODO: Insert your notification-finding code here | ||
11 | // Ferdium.setBadge(0, 0); | ||
12 | // }; | ||
13 | // Ferdium.loop(getMessages); | ||
14 | |||
15 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
16 | }; | ||