Limit display name length to 32

pull/1183/head
Kelrap 2 years ago committed by GitHub
parent f84e92d9d0
commit 09f26fb91f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -42,6 +42,9 @@ class SettingsController extends State<Settings> {
cancelLabel: L10n.of(context)!.cancel,
textFields: [
DialogTextField(
// #Pangea
maxLength: 32,
// Pangea#
initialText: profile?.displayName ??
Matrix.of(context).client.userID!.localpart,
),

Loading…
Cancel
Save