💄 Optimize the two parts split avatar displaying
This commit is contained in:
@@ -759,7 +759,6 @@ class SplitAvatarWidget extends ConsumerWidget {
|
|||||||
if (file == null) {
|
if (file == null) {
|
||||||
return Container(
|
return Container(
|
||||||
width: radius,
|
width: radius,
|
||||||
height: radius,
|
|
||||||
color: Theme.of(context).colorScheme.primaryContainer,
|
color: Theme.of(context).colorScheme.primaryContainer,
|
||||||
child: Icon(
|
child: Icon(
|
||||||
fallbackIcon,
|
fallbackIcon,
|
||||||
@@ -775,7 +774,6 @@ class SplitAvatarWidget extends ConsumerWidget {
|
|||||||
|
|
||||||
return SizedBox(
|
return SizedBox(
|
||||||
width: radius,
|
width: radius,
|
||||||
height: radius,
|
|
||||||
child: UniversalImage(uri: uri, fit: BoxFit.cover),
|
child: UniversalImage(uri: uri, fit: BoxFit.cover),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user