diff --git a/package.json b/package.json index 5a87dc2..b86c008 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sky-follower-bridge", "displayName": "Sky Follower Bridge", - "version": "1.0.4", + "version": "1.0.5", "description": "Instantly find and follow the same users from your Twitter follows on Bluesky.", "author": "kawamataryou", "scripts": { diff --git a/src/popup.tsx b/src/popup.tsx index ec9caf8..a5d717b 100644 --- a/src/popup.tsx +++ b/src/popup.tsx @@ -44,6 +44,7 @@ function IndexPopup() { const saveCredentialsToStorage = () => { chrome.storage.local.set({ [STORAGE_KEYS.BSKY_USER_ID]: identifier, + [STORAGE_KEYS.BSKY_PASSWORD]: password, }); }; @@ -57,10 +58,12 @@ function IndexPopup() { chrome.storage.local.get( [ STORAGE_KEYS.BSKY_USER_ID, + STORAGE_KEYS.BSKY_PASSWORD, STORAGE_KEYS.BSKY_SHOW_AUTH_FACTOR_TOKEN_INPUT, ], (result) => { setIdentifier(result[STORAGE_KEYS.BSKY_USER_ID] || ""); + setPassword(result[STORAGE_KEYS.BSKY_PASSWORD] || ""); setIsShowAuthFactorTokenInput( result[STORAGE_KEYS.BSKY_SHOW_AUTH_FACTOR_TOKEN_INPUT] || false, );