mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
增加剪切板控制
This commit is contained in:
@@ -92,6 +92,7 @@ class _UpdatePasswordPageState extends ConsumerState<UpdatePasswordPage> {
|
||||
),
|
||||
),
|
||||
TextField(
|
||||
enableInteractiveSelection: !getIt<UserInfoViewModel>().forbidReadClipBoarded,
|
||||
focusNode: focusNode,
|
||||
controller: _nameController,
|
||||
decoration: const InputDecoration(
|
||||
@@ -122,6 +123,7 @@ class _UpdatePasswordPageState extends ConsumerState<UpdatePasswordPage> {
|
||||
),
|
||||
),
|
||||
TextField(
|
||||
enableInteractiveSelection: !getIt<UserInfoViewModel>().forbidReadClipBoarded,
|
||||
obscureText: true,
|
||||
controller: _passwordController,
|
||||
maxLines: 1,
|
||||
@@ -153,6 +155,7 @@ class _UpdatePasswordPageState extends ConsumerState<UpdatePasswordPage> {
|
||||
),
|
||||
),
|
||||
TextField(
|
||||
enableInteractiveSelection: false,
|
||||
obscureText: true,
|
||||
maxLines: 1,
|
||||
controller: _passwordAgainController,
|
||||
|
||||
Reference in New Issue
Block a user