浏览代码

clear code

Marino Faggiana 7 年之前
父节点
当前提交
5585f86d2d
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      iOSClient/Main/CCMain.m
  2. 1 1
      iOSClient/Main/CCMore.swift

+ 1 - 1
iOSClient/Main/CCMain.m

@@ -525,7 +525,7 @@
 {
     _refreshControl = [UIRefreshControl new];
     
-    if (@available(iOS 11.0, *)) {
+    if (@available(iOS 11, *)) {
         [self.tableView setRefreshControl:_refreshControl];
         _refreshControl.tintColor = [UIColor whiteColor];
     } else {

+ 1 - 1
iOSClient/Main/CCMore.swift

@@ -54,7 +54,7 @@ class CCMore: UIViewController, UITableViewDelegate, UITableViewDataSource, CCLo
         
         tableView.separatorColor = NCBrandColor.sharedInstance.seperator
         
-        if #available(iOS 11.0, *) {
+        if #available(iOS 11, *) {
             //tableView.contentInsetAdjustmentBehavior = .never
         }