diff options
Diffstat (limited to 'recipes/chatgpt/webview.js')
-rw-r--r-- | recipes/chatgpt/webview.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes/chatgpt/webview.js b/recipes/chatgpt/webview.js index dd41f72..2ebc1f3 100644 --- a/recipes/chatgpt/webview.js +++ b/recipes/chatgpt/webview.js | |||
@@ -1 +1,5 @@ | |||
1 | module.exports = Ferdium => Ferdium; | 1 | module.exports = Ferdium => { |
2 | Ferdium.handleDarkMode(isEnabled => { | ||
3 | localStorage.setItem('theme', isEnabled ? 'dark' : 'light' ); | ||
4 | }); | ||
5 | }; | ||