mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 04:49:21 +00:00
Continue to fix issues
This commit is contained in:
parent
7a0b44e446
commit
820491b09a
@ -43,7 +43,8 @@ class _ForezMemberProfileRouteState extends State<ForezMemberProfileRoute> {
|
|||||||
late PresenceSet _presence;
|
late PresenceSet _presence;
|
||||||
|
|
||||||
Future<void> _load() async {
|
Future<void> _load() async {
|
||||||
_user = await ForezGroupsHelper.getMemberInfo(forezGroup!.id, widget.userID);
|
_user =
|
||||||
|
await ForezGroupsHelper.getMemberInfo(forezGroup!.id, widget.userID);
|
||||||
_presence =
|
_presence =
|
||||||
await ForezPresenceHelper.getForUser(forezGroup!.id, widget.userID);
|
await ForezPresenceHelper.getForUser(forezGroup!.id, widget.userID);
|
||||||
}
|
}
|
||||||
@ -97,13 +98,11 @@ class _ForezMemberProfileRouteState extends State<ForezMemberProfileRoute> {
|
|||||||
background: Stack(
|
background: Stack(
|
||||||
fit: StackFit.expand,
|
fit: StackFit.expand,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
_user.accountImageURL == null
|
CachedNetworkImage(
|
||||||
? Container()
|
fit: BoxFit.cover,
|
||||||
: CachedNetworkImage(
|
imageUrl: _user.accountImageURL,
|
||||||
fit: BoxFit.cover,
|
height: _appBarHeight,
|
||||||
imageUrl: _user.accountImageURL!,
|
),
|
||||||
height: _appBarHeight,
|
|
||||||
),
|
|
||||||
// This gradient ensures that the toolbar icons are distinct
|
// This gradient ensures that the toolbar icons are distinct
|
||||||
// against the background image.
|
// against the background image.
|
||||||
const DecoratedBox(
|
const DecoratedBox(
|
||||||
|
Loading…
Reference in New Issue
Block a user