|
@@ -47,7 +47,7 @@ class CommunityFollowViewController: BaseViewController {
|
|
|
override func setupLayouts() {
|
|
|
tableView.snp.makeConstraints { (make) in
|
|
|
make.top.left.right.equalToSuperview()
|
|
|
- make.height.equalTo(kScreenHeight-48-kNavBarTotalHeight-kTabBarTotalHeight)
|
|
|
+ make.height.equalTo(kScreenHeight-44-kNavBarTotalHeight-kTabBarTotalHeight)
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -749,7 +749,7 @@ extension CommunityFollowViewController {
|
|
|
NotificationCenter.default.post(name: NSNotification.Name("CommunityViewControllerScrollView"), object: true)
|
|
|
|
|
|
tableView.snp.updateConstraints { (make) in
|
|
|
- make.height.equalTo(kScreenHeight-48-kSafeStatusBarHeight-kTabBarTotalHeight)
|
|
|
+ make.height.equalTo(kScreenHeight-44-kSafeStatusBarHeight-kTabBarTotalHeight)
|
|
|
}
|
|
|
self.view.layoutIfNeeded()
|
|
|
self.navigationBarIsHidden = true
|
|
@@ -760,7 +760,7 @@ extension CommunityFollowViewController {
|
|
|
if communityNavigationBarIsHidden && communityIndex != 2 {
|
|
|
NotificationCenter.default.post(name: NSNotification.Name("CommunityViewControllerScrollView"), object: false)
|
|
|
tableView.snp.updateConstraints { (make) in
|
|
|
- make.height.equalTo(kScreenHeight-48-kNavBarTotalHeight-kTabBarTotalHeight)
|
|
|
+ make.height.equalTo(kScreenHeight-44-kNavBarTotalHeight-kTabBarTotalHeight)
|
|
|
}
|
|
|
self.view.layoutIfNeeded()
|
|
|
communityNavigationBarIsHidden = false
|