Update translations
This commit is contained in:
parent
e4ed3cc7ef
commit
b3adc20644
6 changed files with 17 additions and 573 deletions
|
|
@ -92,11 +92,7 @@ class _SignUpPasswordState extends State<SignUpPassword> {
|
|||
return setState(() => loading = false);
|
||||
}
|
||||
try {
|
||||
await matrix.client.jsonRequest(
|
||||
type: HTTPType.PUT,
|
||||
action: "/client/r0/profile/${matrix.client.userID}/displayname",
|
||||
data: {"displayname": widget.displayname},
|
||||
);
|
||||
await matrix.client.setDisplayname(widget.displayname);
|
||||
} catch (exception) {
|
||||
Toast.show(I18n.of(context).couldNotSetDisplayname, context, duration: 5);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue