Browse Source

1,完成 文案 2, 分享后 回到本界面

jsonwang 3 years ago
parent
commit
89d15ff6e7

+ 2 - 6
BFFramework/Classes/Stuckpoint/Controller/PQStuckPointPublicController.swift

@@ -345,7 +345,7 @@ class PQStuckPointPublicController: PQBaseViewController {
     //关闭
     lazy var finishedBtn: UIButton = {
         let finishedBtn = UIButton(type: .custom)
-        finishedBtn.setTitle("暂不分享", for: .normal)
+        finishedBtn.setTitle("完成", for: .normal)
         finishedBtn.setTitleColor(UIColor.hexColor(hexadecimal: "#BDBDBD"), for: .normal)
         finishedBtn.titleLabel?.font = UIFont.systemFont(ofSize: 16, weight: .medium)
         finishedBtn.backgroundColor = .clear
@@ -1175,11 +1175,7 @@ extension PQStuckPointPublicController {
             DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 1) { [weak self] in
                 self?.isShared = false
                 cShowHUB(superView: nil, msg: "分享成功")
-                self?.navigationController?.viewControllers = [(self?.navigationController?.viewControllers.first)!]
-                // 发送通知
-                postNotification(name: cFinishedPublishedNotiKey)
-                
-                postNotification(name: cFinishSharedNotiKey)
+      
             }
         }
     }