1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-12-25 04:18:51 +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,13 +98,11 @@ class _ForezMemberProfileRouteState extends State<ForezMemberProfileRoute> {
background: Stack(
fit: StackFit.expand,
children: <Widget>[
_user.accountImageURL == null
? Container()
: CachedNetworkImage(
fit: BoxFit.cover,
imageUrl: _user.accountImageURL!,
height: _appBarHeight,
),
CachedNetworkImage(
fit: BoxFit.cover,
imageUrl: _user.accountImageURL,
height: _appBarHeight,
),
// This gradient ensures that the toolbar icons are distinct
// against the background image.
const DecoratedBox(