Browse Source

fix: Avatar Border Radius

yiffed
Christian Pauly 8 months ago
parent
commit
a8b617e096
  1. 4
      lib/components/avatar.dart

4
lib/components/avatar.dart

@ -45,10 +45,12 @@ class Avatar extends StatelessWidget {
),
);
final noPic = mxContent == null || mxContent.toString().isEmpty;
final borderRadius = BorderRadius.circular(size / 2);
return InkWell(
onTap: onTap,
borderRadius: borderRadius,
child: ClipRRect(
borderRadius: BorderRadius.circular(size / 2),
borderRadius: borderRadius,
child: Container(
width: size,
height: size,

Loading…
Cancel
Save