南鑫林 5 lat temu
rodzic
commit
8c9ea4854f

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Main/CommunityViewController.swift

@@ -196,7 +196,7 @@ class CommunityViewController: BaseViewController {
         }
         
         // 待发布
-        observe = NotificationCenter.default.addObserver(forName: NSNotification.Name("DismissFromPublishEditVc"), object: "", queue: OperationQueue.main) {[weak self] (notification) in
+        observe = NotificationCenter.default.addObserver(forName: NSNotification.Name("DismissFromPublishEditVc"), object: nil, queue: OperationQueue.main) {[weak self] (notification) in
             self?.reloadSegmentedFollowView()
             let aliyunVodUpToYoPublishModel = notification.object as? AliyunVodUpToYoPublishModel
             AliyunVodUpToyoPublishManager.shared.publish(aliyunVodUpToYoPublishModel: aliyunVodUpToYoPublishModel, view: self?.navigationBarbgView)