mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 16:25:17 +00:00
Can update user public note
This commit is contained in:
@ -192,7 +192,7 @@ class __GeneralAccountSettingsBodyState
|
||||
|
||||
// Personal website
|
||||
TextEditSettingsTile(
|
||||
title: tr("Personal website URL"),
|
||||
title: tr("Personal website URL (optional)"),
|
||||
currValue: _settings.personalWebsite,
|
||||
onChanged: (v) {
|
||||
_settings.personalWebsite = v;
|
||||
@ -200,7 +200,20 @@ class __GeneralAccountSettingsBodyState
|
||||
},
|
||||
checkInput: (s) => validateUrl(s),
|
||||
allowEmptyValues: true,
|
||||
)
|
||||
),
|
||||
|
||||
// Public notes
|
||||
TextEditSettingsTile(
|
||||
title: tr("Public note (optional)"),
|
||||
currValue: _settings.publicNote,
|
||||
onChanged: (v) {
|
||||
_settings.publicNote = v;
|
||||
_updateSettings();
|
||||
},
|
||||
allowEmptyValues: true,
|
||||
maxLength: 255,
|
||||
maxLines: 3,
|
||||
),
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user