Commit 6dc9ad73 authored by Steven杜宇's avatar Steven杜宇

Merge branch 'develop' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS into develop

parents 47bedda9 b1e91ec8
...@@ -174,13 +174,10 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget { ...@@ -174,13 +174,10 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget {
} }
func requestLikeCollectionCount() { func requestLikeCollectionCount() {
if YHLoginManager.shared.isLogin() { self.likeViewModel.getLikeCollectionRecentScanCountInfo {
self.likeViewModel.getLikeCollectionRecentScanCountInfo { [weak self] success, error in
[weak self] success, error in guard let self = self else { return }
guard let self = self else { return } self.headerView.updateLikeCollectCount(self.likeViewModel.likeCollectCountInfo)
self.headerView.updateLikeCollectCount(self.likeViewModel.likeCollectCountInfo)
}
} }
} }
......
...@@ -295,6 +295,7 @@ class YHNetRequest: NSObject { ...@@ -295,6 +295,7 @@ class YHNetRequest: NSObject {
NotificationCenter.default.post(name: YhConstant.YhNotification.didMarkAllMessagesReadedNotifiction, object: nil) NotificationCenter.default.post(name: YhConstant.YhNotification.didMarkAllMessagesReadedNotifiction, object: nil)
UIViewController.current?.navigationController?.popToRootViewController(animated: false) UIViewController.current?.navigationController?.popToRootViewController(animated: false)
goTabBarBy(tabType: .home) goTabBarBy(tabType: .home)
YHHUD.hide()
} }
return return
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment