添加multishare配置,用来开启关闭3分享

This commit is contained in:
joywayer
2026-07-03 22:20:48 +08:00
parent 113b4d4960
commit d76064c4c5
4 changed files with 45 additions and 16 deletions
+12 -3
View File
@@ -6,7 +6,10 @@
// ViewController **** mode
//
// dispatchSubGame msext gameController.m:575-597
// - sharefriend == "1" SharePanel /QQ/
// - sharefriend == "1" BundleConfig.isMultiShareEnabled
// SharePanel /QQ/
// - sharefriend == "1" multishare
//
// - WechatShare.share() timeline
//
// dispatchLobby msext NewRootVC.m:453-537 SharePanel
@@ -27,8 +30,14 @@ public enum ShareCenter {
public static func dispatchSubGame(_ content: ShareContent) {
switch content.sharefriend {
case "1":
// / SharePanel
SharePanel.show(content: content)
// /
if BundleConfig.shared.isMultiShareEnabled {
SharePanel.show(content: content)
} else {
// multishare = "0" ,(scene
// / ,)
WechatShare.shared.share(content, scene: .friend)
}
default:
// sharefriend == "2" msext WechatShareManager