fix: Correctly pass through obscure text

fixes https://github.com/krille-chan/fluffychat/issues/2266
pull/2267/head
Christian Kußowski 3 days ago
parent dfc97aa3d7
commit ae29f949d2
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -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…
Cancel
Save