Limit display name length to 32
This commit is contained in:
parent
f84e92d9d0
commit
09f26fb91f
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue