From 604fdc5c6ce985f0c814bc4791d6cd016359afdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20F=C3=B6rtsch?= Date: Wed, 15 Apr 2026 14:51:57 +0200 Subject: [PATCH] settings: clicking the eye again actually hides the secret MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously the input type was `revealed || !isMasked ? "text" : "password"` — once revealed the value was no longer the "***" placeholder, so !isMasked kept the input in text mode even with revealed=false. Type now depends on `revealed` alone, so a second click re-dots the field. v2026.04.15.6 Co-Authored-By: Claude Opus 4.6 (1M context) --- package.json | 2 +- src/features/settings/SettingsPage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fc65365..9734957 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "netfelix-audio-fix", - "version": "2026.04.15.5", + "version": "2026.04.15.6", "scripts": { "dev:server": "NODE_ENV=development bun --hot server/index.tsx", "dev:client": "vite", diff --git a/src/features/settings/SettingsPage.tsx b/src/features/settings/SettingsPage.tsx index 03402a9..92f21e3 100644 --- a/src/features/settings/SettingsPage.tsx +++ b/src/features/settings/SettingsPage.tsx @@ -146,7 +146,7 @@ function SecretInput({ return (
onChange(e.target.value)}