diff options
author | Edgars <eandersons@users.noreply.github.com> | 2020-09-19 21:59:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-19 19:59:07 +0100 |
commit | 8baea0618cbcc2ebd1e559dda9124e3cb62e5b3b (patch) | |
tree | 3624bc032722a2d77cf19a2e41ece883fbdc4d9d /uncompressed/nextcloud-talk/webview.js | |
parent | Add Pomodoro Tracker recipe (#252) (diff) | |
download | ferdium-recipes-8baea0618cbcc2ebd1e559dda9124e3cb62e5b3b.tar.gz ferdium-recipes-8baea0618cbcc2ebd1e559dda9124e3cb62e5b3b.tar.zst ferdium-recipes-8baea0618cbcc2ebd1e559dda9124e3cb62e5b3b.zip |
Update Nextcloud Talk to remove/disable unnecessary links (#270)
`service.css` was updated to remove or disable unnecessary links from the top
menu to remove the possibility to navigate away from the app:
- disable Nextcloud logo, Talk and settings link;
- remove "More" and contacts link.
`package.json` was updated to:
- increase version number to 1.0.2;
- add `serviceURL` to `config` to successfully package this recipe.
Co-authored-by: Edgars <Edgars@gaitenis.id.lv>
Diffstat (limited to 'uncompressed/nextcloud-talk/webview.js')
-rw-r--r-- | uncompressed/nextcloud-talk/webview.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/uncompressed/nextcloud-talk/webview.js b/uncompressed/nextcloud-talk/webview.js index ae055f0..c180d4d 100644 --- a/uncompressed/nextcloud-talk/webview.js +++ b/uncompressed/nextcloud-talk/webview.js | |||
@@ -2,7 +2,9 @@ | |||
2 | 2 | ||
3 | var _path = _interopRequireDefault(require("path")); | 3 | var _path = _interopRequireDefault(require("path")); |
4 | 4 | ||
5 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | 5 | function _interopRequireDefault(obj) { |
6 | return obj && obj.__esModule ? obj : { default: obj }; | ||
7 | } | ||
6 | 8 | ||
7 | module.exports = Franz => { | 9 | module.exports = Franz => { |
8 | const getMessages = function getMessages() { | 10 | const getMessages = function getMessages() { |
@@ -13,4 +15,4 @@ module.exports = Franz => { | |||
13 | 15 | ||
14 | Franz.loop(getMessages); | 16 | Franz.loop(getMessages); |
15 | Franz.injectCSS(_path.default.join(__dirname, 'service.css')); | 17 | Franz.injectCSS(_path.default.join(__dirname, 'service.css')); |
16 | }; \ No newline at end of file | 18 | }; |