diff options
author | 2023-06-29 03:44:20 +0200 | |
---|---|---|
committer | 2023-06-29 07:14:20 +0530 | |
commit | 09bec6fec5af85963e2b6705cbad117a201710c1 (patch) | |
tree | b1959c00598d0888d14ad054be4968194c5f778a /recipes/bring/webview.js | |
parent | add survfate as a contributor for code (#384) [skip ci] (diff) | |
download | ferdium-recipes-09bec6fec5af85963e2b6705cbad117a201710c1.tar.gz ferdium-recipes-09bec6fec5af85963e2b6705cbad117a201710c1.tar.zst ferdium-recipes-09bec6fec5af85963e2b6705cbad117a201710c1.zip |
Implemented the Service: Bring (#382)
Diffstat (limited to 'recipes/bring/webview.js')
-rw-r--r-- | recipes/bring/webview.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/bring/webview.js b/recipes/bring/webview.js new file mode 100644 index 0000000..52e1cef --- /dev/null +++ b/recipes/bring/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 Bring 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 | }; | ||