diff options
author | 2023-01-02 02:37:03 +0100 | |
---|---|---|
committer | 2023-01-02 01:37:03 +0000 | |
commit | f2abd7850dbcb32d9429d8e2ab95cd62805e39a9 (patch) | |
tree | a4f6350cc6f24fd5d9ee9c2d30fa8f63879d8dbb /recipes/reclaim/webview.js | |
parent | Upgrade 'pnpm' to '7.19.0' (diff) | |
download | ferdium-recipes-f2abd7850dbcb32d9429d8e2ab95cd62805e39a9.tar.gz ferdium-recipes-f2abd7850dbcb32d9429d8e2ab95cd62805e39a9.tar.zst ferdium-recipes-f2abd7850dbcb32d9429d8e2ab95cd62805e39a9.zip |
add new recipe: Reclaim (#276)
Diffstat (limited to 'recipes/reclaim/webview.js')
-rw-r--r-- | recipes/reclaim/webview.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/reclaim/webview.js b/recipes/reclaim/webview.js new file mode 100644 index 0000000..86bb422 --- /dev/null +++ b/recipes/reclaim/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 | }; | ||