1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-24 22:09:21 +00:00

Continue to fix issues

This commit is contained in:
Pierre HUBERT 2022-03-10 20:39:06 +01:00
parent 7a0b44e446
commit 820491b09a

View File

@ -43,7 +43,8 @@ class _ForezMemberProfileRouteState extends State<ForezMemberProfileRoute> {
late PresenceSet _presence;
Future<void> _load() async {
_user = await ForezGroupsHelper.getMemberInfo(forezGroup!.id, widget.userID);
_user =
await ForezGroupsHelper.getMemberInfo(forezGroup!.id, widget.userID);
_presence =
await ForezPresenceHelper.getForUser(forezGroup!.id, widget.userID);
}
@ -97,11 +98,9 @@ class _ForezMemberProfileRouteState extends State<ForezMemberProfileRoute> {
background: Stack(
fit: StackFit.expand,
children: <Widget>[
_user.accountImageURL == null
? Container()
: CachedNetworkImage(
CachedNetworkImage(
fit: BoxFit.cover,
imageUrl: _user.accountImageURL!,
imageUrl: _user.accountImageURL,
height: _appBarHeight,
),
// This gradient ensures that the toolbar icons are distinct