Browse Source

clear code

Marino Faggiana 7 years ago
parent
commit
5585f86d2d
2 changed files with 2 additions and 2 deletions
  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
         }