From 09bec6fec5af85963e2b6705cbad117a201710c1 Mon Sep 17 00:00:00 2001 From: Dennis Heinrich Date: Thu, 29 Jun 2023 03:44:20 +0200 Subject: Implemented the Service: Bring (#382) --- recipes/bring/webview.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 recipes/bring/webview.js (limited to 'recipes/bring/webview.js') 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 @@ +const _path = _interopRequireDefault(require('path')); + +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; +} + +module.exports = Ferdium => { + // TODO: If your Bring 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')); +}; -- cgit v1.2.3-70-g09d2