feat(share): 朋友圈分享(sharefriend=2)走文本分享但指引专门指向朋友圈

ShareGuideRequest 加 timeline 标记(sharefriend==2);指引框 timeline 时显示『分享到朋友圈步骤』
(打开微信→发现→朋友圈→长按相机发表文字→粘贴→发表),否则好友/群聊步骤。
This commit is contained in:
lanterngamescn
2026-06-27 15:58:58 +08:00
parent 0b6c5dfc54
commit f82ec89027
4 changed files with 20 additions and 6 deletions
@@ -223,7 +223,7 @@ export class ShareProvider implements CapabilityProvider {
this.guideCancelFn = undefined;
this.onGuideAction(bean, platform, p);
});
const req: ShareGuideRequest = { platform, contentKind: 'text', resultEvent };
const req: ShareGuideRequest = { platform, timeline: bean.sharefriend === '2', resultEvent };
EventBus.emit(ShareEvents.SHOW_GUIDE, req);
}