mirror of
https://github.com/git-touch/git-touch
synced 2025-01-31 08:04:51 +01:00
fix: avatar size
This commit is contained in:
parent
f856a1bfee
commit
12bb22bda9
@ -30,7 +30,7 @@ class Avatar extends StatelessWidget {
|
||||
final widget = ClipRRect(
|
||||
borderRadius: borderRadius ?? BorderRadius.circular(size / 2),
|
||||
child: url == null
|
||||
? Image.asset(fallback)
|
||||
? Image.asset(fallback, width: size, height: size)
|
||||
: FadeInImage.assetNetwork(
|
||||
placeholder: fallback,
|
||||
image: url,
|
||||
|
Loading…
x
Reference in New Issue
Block a user