Commit ecab4d96 authored by Steven杜宇's avatar Steven杜宇

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

parents a6f14e59 1599f46d
......@@ -226,7 +226,10 @@ extension YHButlerServiceManager {
}
initSDKAccountAndLastMessage { _ in
// 为了更新状态
NotificationCenter.default.post(name: YhConstant.YhNotification.didQiYuUnReadMsgCountChangeNotification, object: nil)
DispatchQueue.main.async {
NotificationCenter.default.post(name: YhConstant.YhNotification.didQiYuUnReadMsgCountChangeNotification, object: nil)
}
}
}
......@@ -236,7 +239,9 @@ extension YHButlerServiceManager {
}
initSDKAccountAndLastMessage { _ in
// 为了更新状态
NotificationCenter.default.post(name: YhConstant.YhNotification.didQiYuUnReadMsgCountChangeNotification, object: nil)
DispatchQueue.main.async {
NotificationCenter.default.post(name: YhConstant.YhNotification.didQiYuUnReadMsgCountChangeNotification, object: nil)
}
}
}
......
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