fix: Settings profile picture
This commit is contained in:
parent
559e5f935e
commit
6d6d6c6f04
2 changed files with 7 additions and 12 deletions
|
|
@ -47,19 +47,12 @@ class ContentBanner extends StatelessWidget {
|
|||
return Hero(
|
||||
tag: heroTag,
|
||||
child: MxcImage(
|
||||
key: Key(mxContent?.toString() ?? 'NoKey'),
|
||||
uri: mxContent,
|
||||
animated: true,
|
||||
fit: BoxFit.cover,
|
||||
height: 400,
|
||||
width: 800,
|
||||
placeholder: (c) => Center(
|
||||
child: Icon(
|
||||
defaultIcon,
|
||||
size: 200,
|
||||
color:
|
||||
Theme.of(context).colorScheme.onSecondaryContainer,
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue