From f8f6d7a8b5596c196e14926de69383bf03dab71f Mon Sep 17 00:00:00 2001 From: Abdul Hafiz Muhammad <109435420+hafiz-muhammad@users.noreply.github.com> Date: Tue, 4 Oct 2022 05:05:04 -0400 Subject: New recipe: brax.me (#177) --- recipes/brax.me/webview.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 recipes/brax.me/webview.js (limited to 'recipes/brax.me/webview.js') diff --git a/recipes/brax.me/webview.js b/recipes/brax.me/webview.js new file mode 100644 index 0000000..b83ea5f --- /dev/null +++ b/recipes/brax.me/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 Brax.Me 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