From d341c1c6e52dd90e530c4b1c1c1411ef4a21587d Mon Sep 17 00:00:00 2001 From: wangjia <809946525@qq.com> Date: Thu, 18 Jun 2026 09:23:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(client/auth):=20=E9=AA=8C=E8=AF=81=E7=A0=81?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=8E=BB=E6=8E=89=E7=82=B9=E7=8A=B6=E5=8D=A0?= =?UTF-8?q?=E4=BD=8D(hintText=20=E6=94=B9=E7=A9=BA)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit '······' 占位被误以为是已填/遮蔽;验证码本就明文输入,清空占位更清晰。 Co-Authored-By: Claude Opus 4.8 --- client/lib/widgets/auth_screen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/lib/widgets/auth_screen.dart b/client/lib/widgets/auth_screen.dart index cd21e21..9abc1e4 100644 --- a/client/lib/widgets/auth_screen.dart +++ b/client/lib/widgets/auth_screen.dart @@ -230,7 +230,7 @@ class _AuthScreenState extends ConsumerState { _field(c, icon: PangolinIcons.shieldCheck, label: t.codeLabel, child: TextField(controller: _code, keyboardType: TextInputType.number, maxLength: 6, style: PangolinText.mono.copyWith(letterSpacing: 6, color: c.fg1), - decoration: _bare.copyWith(counterText: '', hintText: '······'), onChanged: (_) => setState(() {}))), + decoration: _bare.copyWith(counterText: '', hintText: ''), onChanged: (_) => setState(() {}))), const SizedBox(height: 8), PangolinButton(label: t.doNext, expand: true, onPressed: (_sent && _code.text.length == 6) ? () => setState(() => _step = 1) : null), ]);