Commit 6d60ae60 by amateur

1

1 parent 14b7ae71
......@@ -78,7 +78,7 @@ public class WechatApi {
this.shareText(bean);
} else if ("1".equals(shareType)) { // 分享图片
this.shareImage(bean);
} else if ("2".equals(shareType)) { // 分享url地址
} else if ("3".equals(shareType)) { // 分享url地址
this.loadImageUrl(ctx, webImg, new Callback<Bitmap>() {
@Override
public void onBack(Bitmap data) {
......@@ -142,7 +142,7 @@ public class WechatApi {
};
if (TextUtils.isEmpty(url)) {
Glide.with(ctx).asBitmap().load(R.mipmap.ic_launcher).override(120, 120).into(target);
Glide.with(ctx).asBitmap().load(R.mipmap.app_logo).override(120, 120).into(target);
} else {
Glide.with(ctx).asBitmap().load(url).override(120, 120).into(target);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!