aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-09-27 05:27:31 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-09-27 05:27:38 +0530
commitc28cb0e4594d826b0764166241d6f78be757d237 (patch)
tree241c6f5ce8b7a658c927a0be81b2a849e426ed21
parentFix Slack connection with Google SSO (#1991) (diff)
downloadferdium-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---------recipes0
-rw-r--r--src/webview/lib/RecipeWebview.js4
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
138export default RecipeWebview; 142export default RecipeWebview;