fix: Correctly pass through obscure text

fixes https://github.com/krille-chan/fluffychat/issues/2266
This commit is contained in:
Christian Kußowski 2025-10-20 07:51:35 +02:00
parent dfc97aa3d7
commit ae29f949d2
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -71,6 +71,7 @@ Future<String?> showTextInputDialog({
maxLines: maxLines,
maxLength: maxLength,
keyboardType: keyboardType,
obscureText: obscureText,
);
},
),