This commit is contained in:
kolaente 2020-04-27 17:09:33 +02:00
parent f973d3940f
commit df003106c8
1 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,10 @@ class User {
toJSON() => {"id": this.id, "email": this.email, "username": this.username};
String avatarUrl(BuildContext context) {
return VikunjaGlobal.of(context).client.base + "/" + this.username + "/avatar";
return VikunjaGlobal.of(context).client.base +
"/" +
this.username +
"/avatar";
}
}