Skip to content

Commit 4a591d9

Browse files
committed
fix something
1 parent 89cd1ac commit 4a591d9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/widget/gsy_user_icon_widget.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ class GSYUserIconWidget extends StatelessWidget {
2424
padding: padding ?? const EdgeInsets.only(top: 4.0, right: 5.0, left: 5.0),
2525
constraints: const BoxConstraints(minWidth: 0.0, minHeight: 0.0),
2626
child: new ClipOval(
27-
child: Image(
27+
child: FadeInImage(
28+
placeholder: AssetImage(
29+
GSYICons.DEFAULT_USER_ICON,
30+
),
2831
image: NetworkCacheImage(image),
2932
//预览图
3033
fit: BoxFit.fitWidth,

0 commit comments

Comments
 (0)