diff options
author | 2021-09-27 05:27:31 +0530 | |
---|---|---|
committer | 2021-09-27 05:27:38 +0530 | |
commit | c28cb0e4594d826b0764166241d6f78be757d237 (patch) | |
tree | 241c6f5ce8b7a658c927a0be81b2a849e426ed21 | |
parent | Fix Slack connection with Google SSO (#1991) (diff) | |
download | ferdium-app-c28cb0e4594d826b0764166241d6f78be757d237.tar.gz ferdium-app-c28cb0e4594d826b0764166241d6f78be757d237.tar.zst ferdium-app-c28cb0e4594d826b0764166241d6f78be757d237.zip |
refactor: remove references 'Ferdi.ipcRenderer' in recipes - create an abstraction layer instead for better maintainance
m--------- | recipes | 0 | ||||
-rw-r--r-- | src/webview/lib/RecipeWebview.js | 4 |
2 files changed, 4 insertions, 0 deletions
diff --git a/recipes b/recipes | |||
Subproject 882da387029a0026e4417aae4224bcf8df3ce26 | Subproject a86245afc0c4aaca259d5c3f014794dbc4d913d | ||
diff --git a/src/webview/lib/RecipeWebview.js b/src/webview/lib/RecipeWebview.js index b2a9f3ee8..fa2dc5654 100644 --- a/src/webview/lib/RecipeWebview.js +++ b/src/webview/lib/RecipeWebview.js | |||
@@ -133,6 +133,10 @@ class RecipeWebview { | |||
133 | releaseServiceWorkers() { | 133 | releaseServiceWorkers() { |
134 | this.sessionHandler.releaseServiceWorkers(); | 134 | this.sessionHandler.releaseServiceWorkers(); |
135 | } | 135 | } |
136 | |||
137 | setAvatarImage(avatarUrl) { | ||
138 | ipcRenderer.sendToHost('avatar', avatarUrl); | ||
139 | } | ||
136 | } | 140 | } |
137 | 141 | ||
138 | export default RecipeWebview; | 142 | export default RecipeWebview; |