fix: Correctly pass through obscure text
fixes https://github.com/krille-chan/fluffychat/issues/2266
This commit is contained in:
parent
dfc97aa3d7
commit
ae29f949d2
2 changed files with 3 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ class DialogTextField extends StatelessWidget {
|
|||
final String? prefixText;
|
||||
final String? suffixText;
|
||||
final String? errorText;
|
||||
final bool obscureText = false;
|
||||
final bool obscureText;
|
||||
final bool isDestructive = false;
|
||||
final int? minLines;
|
||||
final int? maxLines;
|
||||
|
|
@ -32,6 +32,7 @@ class DialogTextField extends StatelessWidget {
|
|||
this.controller,
|
||||
this.counterText,
|
||||
this.errorText,
|
||||
this.obscureText = false,
|
||||
});
|
||||
|
||||
@override
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ Future<String?> showTextInputDialog({
|
|||
maxLines: maxLines,
|
||||
maxLength: maxLength,
|
||||
keyboardType: keyboardType,
|
||||
obscureText: obscureText,
|
||||
);
|
||||
},
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue