mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 06:52:35 +01:00
fix: Avatar Border Radius
This commit is contained in:
parent
6b844a168e
commit
a8b617e096
@ -45,10 +45,12 @@ class Avatar extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
final noPic = mxContent == null || mxContent.toString().isEmpty;
|
final noPic = mxContent == null || mxContent.toString().isEmpty;
|
||||||
|
final borderRadius = BorderRadius.circular(size / 2);
|
||||||
return InkWell(
|
return InkWell(
|
||||||
onTap: onTap,
|
onTap: onTap,
|
||||||
|
borderRadius: borderRadius,
|
||||||
child: ClipRRect(
|
child: ClipRRect(
|
||||||
borderRadius: BorderRadius.circular(size / 2),
|
borderRadius: borderRadius,
|
||||||
child: Container(
|
child: Container(
|
||||||
width: size,
|
width: size,
|
||||||
height: size,
|
height: size,
|
||||||
|
Loading…
Reference in New Issue
Block a user