This commit is contained in:
parent
361057aa9f
commit
46fc580b7b
|
@ -14,7 +14,10 @@ class User {
|
||||||
toJSON() => {"id": this.id, "email": this.email, "username": this.username};
|
toJSON() => {"id": this.id, "email": this.email, "username": this.username};
|
||||||
|
|
||||||
String avatarUrl(BuildContext context) {
|
String avatarUrl(BuildContext context) {
|
||||||
return VikunjaGlobal.of(context).client.base + "/" + this.username + "/avatar";
|
return VikunjaGlobal.of(context).client.base +
|
||||||
|
"/" +
|
||||||
|
this.username +
|
||||||
|
"/avatar";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user