update user profile avatar's placeholder

hmxc
小赖 4 years ago
parent e5ec96302b
commit 900f366b2a

@ -124,8 +124,7 @@ class _PersonalIndexState extends State<PersonalIndex>
tag: 'AVATAR',
child: ClipOval(
child: FadeInImage.assetNetwork(
//TODO PLACEHOLDER
placeholder: R.ASSETS_ICONS_PROPOSAL_PNG,
placeholder: R.ASSETS_IMAGES_PLACEHOLDER_WEBP,
image: API.image(
userProvider?.userInfoModel?.imgUrl ?? ''),
height: 106.w,

@ -98,7 +98,7 @@ class _UserProfilePageState extends State<UserProfilePage> {
tag: 'AVATAR',
child: ClipOval(
child: FadeInImage.assetNetwork(
placeholder: R.ASSETS_ICONS_PROPOSAL_PNG,
placeholder: R.ASSETS_IMAGES_PLACEHOLDER_WEBP,
image: API.image(userProvider.userInfoModel.imgUrl),
height: 56.w,
width: 56.w,

Loading…
Cancel
Save