南鑫林 5 年 前
コミット
8c9ea4854f
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Main/CommunityViewController.swift

+ 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)