diff --git a/entrypoints/popup/Popup.tsx b/entrypoints/popup/Popup.tsx index 6243b25..b763503 100644 --- a/entrypoints/popup/Popup.tsx +++ b/entrypoints/popup/Popup.tsx @@ -194,8 +194,8 @@ function Popup() { // Load config + restore session input useEffect(() => { - safeStorageGet(chrome.storage.local, ['provider', 'apiKey', 'model'], (result) => { - if (result.apiKey) { + safeStorageGet(chrome.storage.local, ['provider', 'apiKey', 'apiKeyEnc', 'model'], (result) => { + if (result.apiKey || result.apiKeyEnc) { setConfigured(true); setProvider(result.provider || 'openai'); setModel(result.model || ''); diff --git a/lexai-chrome-mv3.zip b/lexai-chrome-mv3.zip index 0754a3e..6238a7b 100644 Binary files a/lexai-chrome-mv3.zip and b/lexai-chrome-mv3.zip differ