diff options
author | muhamedsalih-tw <104364298+muhamedsalih-tw@users.noreply.github.com> | 2022-12-01 00:33:39 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-30 19:03:39 +0000 |
commit | 6df93308d7a93cccb281f3e979668df23007ab5d (patch) | |
tree | 7cce68384707b3bec22c1b5f7b37b9be63bb1ce8 /src/webview/recipe.ts | |
parent | fix: [#809] unable to save custom icon for any service (#811) (diff) | |
download | ferdium-app-6df93308d7a93cccb281f3e979668df23007ab5d.tar.gz ferdium-app-6df93308d7a93cccb281f3e979668df23007ab5d.tar.zst ferdium-app-6df93308d7a93cccb281f3e979668df23007ab5d.zip |
Diffstat (limited to 'src/webview/recipe.ts')
-rw-r--r-- | src/webview/recipe.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview/recipe.ts b/src/webview/recipe.ts index b3a4a6b56..dc3f39401 100644 --- a/src/webview/recipe.ts +++ b/src/webview/recipe.ts | |||
@@ -1,11 +1,11 @@ | |||
1 | /* eslint-disable global-require */ | 1 | /* eslint-disable global-require */ |
2 | /* eslint-disable import/no-dynamic-require */ | 2 | /* eslint-disable import/no-dynamic-require */ |
3 | /* eslint-disable import/first */ | 3 | /* eslint-disable import/first */ |
4 | import { noop, debounce } from 'lodash'; | ||
4 | import { contextBridge, ipcRenderer } from 'electron'; | 5 | import { contextBridge, ipcRenderer } from 'electron'; |
5 | import { join } from 'path'; | 6 | import { join } from 'path'; |
6 | import { autorun, computed, makeObservable, observable } from 'mobx'; | 7 | import { autorun, computed, makeObservable, observable } from 'mobx'; |
7 | import { pathExistsSync, readFileSync } from 'fs-extra'; | 8 | import { pathExistsSync, readFileSync } from 'fs-extra'; |
8 | import { debounce } from 'lodash'; | ||
9 | import { | 9 | import { |
10 | disable as disableDarkMode, | 10 | disable as disableDarkMode, |
11 | enable as enableDarkMode, | 11 | enable as enableDarkMode, |
@@ -53,7 +53,7 @@ import Service from '../models/Service'; | |||
53 | // As the message API is not actually needed, we'll add this shim sendMessage | 53 | // As the message API is not actually needed, we'll add this shim sendMessage |
54 | // function in order for darkreader to continue working | 54 | // function in order for darkreader to continue working |
55 | // @ts-ignore | 55 | // @ts-ignore |
56 | window.chrome.runtime.sendMessage = () => {}; | 56 | window.chrome.runtime.sendMessage = noop; |
57 | 57 | ||
58 | const debug = require('../preload-safe-debug')('Ferdium:Plugin'); | 58 | const debug = require('../preload-safe-debug')('Ferdium:Plugin'); |
59 | 59 | ||