Description
In the Settings dialog, toggling the "Expose Private Websocket" and "Expose Public Websocket" checkboxes immediately changes the setting state before the user clicks the "Update" button.
Expected Behavior
The toggle changes should only be applied after clicking the "Update" button, allowing users to review their changes before committing them.
Actual Behavior
The settings are applied immediately when the toggle is clicked, before the user confirms by clicking "Update".
Steps to Reproduce
- Open the Nostr Proxy extension
- Click the Settings icon
- Toggle either "Expose Private Websocket" or "Expose Public Websocket"
- Observe that the setting changes immediately without clicking "Update"
Description
In the Settings dialog, toggling the "Expose Private Websocket" and "Expose Public Websocket" checkboxes immediately changes the setting state before the user clicks the "Update" button.
Expected Behavior
The toggle changes should only be applied after clicking the "Update" button, allowing users to review their changes before committing them.
Actual Behavior
The settings are applied immediately when the toggle is clicked, before the user confirms by clicking "Update".
Steps to Reproduce