refactor: Rename models for matrix spec 1.16
This commit is contained in:
parent
af130815e1
commit
57a5e1c96f
5 changed files with 13 additions and 9 deletions
|
|
@ -48,7 +48,11 @@ class SettingsController extends State<Settings> {
|
|||
final matrix = Matrix.of(context);
|
||||
final success = await showFutureLoadingDialog(
|
||||
context: context,
|
||||
future: () => matrix.client.setDisplayName(matrix.client.userID!, input),
|
||||
future: () => matrix.client.setProfileField(
|
||||
matrix.client.userID!,
|
||||
'displayname',
|
||||
{'displayname': input},
|
||||
),
|
||||
);
|
||||
if (success.error == null) {
|
||||
updateProfile();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue