fix(client/auth): 验证码字段去掉点状占位(hintText 改空)
'······' 占位被误以为是已填/遮蔽;验证码本就明文输入,清空占位更清晰。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -230,7 +230,7 @@ class _AuthScreenState extends ConsumerState<AuthScreen> {
|
||||
_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),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user