File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
extension-raw/pages/options/src/components Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ export const TuyaSettings = ({ isDarkMode }: { isDarkMode: boolean }) => {
4141 chrome . storage . local . set ( { tuya_config : config } , ( ) => {
4242 // Also save Access ID to bridge credentials (username field stores Access ID)
4343 chrome . storage . local . set ( {
44- cloudBridgeCredentials : {
44+ bridge_credentials : { // ← FIXED: Match the key that tuyaBridge loads!
4545 username : config . clientId , // Access ID
4646 password : config . clientSecret || '' , // Name (optional)
4747 }
4848 } , ( ) => {
49- alert ( '✅ Tuya Access ID saved!\n\nNow go to "Tuya AI Bridge" section and click "Start Polling" ' ) ;
49+ alert ( '✅ Tuya Access ID saved!\n\nReload the extension for changes to take effect. ' ) ;
5050 } ) ;
5151 } ) ;
5252 } ;
You can’t perform that action at this time.
0 commit comments