1
0
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:
2020-04-27 19:21:30 +02:00
parent 88ea7e2431
commit 75e15f9f83
4 changed files with 35 additions and 5 deletions

View File

@ -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,
),
];
}