marinofaggiana 5 سال پیش
والد
کامیت
af1cfff5a6
2فایلهای تغییر یافته به همراه6 افزوده شده و 5 حذف شده
  1. 3 3
      Nextcloud.xcodeproj/project.pbxproj
  2. 3 2
      iOSClient/Main/CCMain.m

+ 3 - 3
Nextcloud.xcodeproj/project.pbxproj

@@ -2503,11 +2503,11 @@
 		F7CADB3D23CCDDA1000EEC78 /* RichWorkspace */ = {
 			isa = PBXGroup;
 			children = (
-				F78A18B723CDE2B300F681F3 /* NCViewerRichWorkspace.swift */,
-				F7D1611F23CF19E30039EBBF /* NCViewerRichWorkspace.storyboard */,
-				F78A18B523CDD07D00F681F3 /* NCViewerNextcloudText.swift */,
 				F7F4B1D723C74B3E00D82A6E /* NCRichWorkspace.swift */,
 				F722814223C8C34500C41898 /* NCRichWorkspace.xib */,
+				F78A18B523CDD07D00F681F3 /* NCViewerNextcloudText.swift */,
+				F7D1611F23CF19E30039EBBF /* NCViewerRichWorkspace.storyboard */,
+				F78A18B723CDE2B300F681F3 /* NCViewerRichWorkspace.swift */,
 			);
 			path = RichWorkspace;
 			sourceTree = "<group>";

+ 3 - 2
iOSClient/Main/CCMain.m

@@ -267,6 +267,7 @@
             // Landscape
         }
         
+        [self setTableViewHeader];
         [self.tableView reloadData];
     }];
 }
@@ -1304,8 +1305,8 @@
             searchTextView.textColor = NCBrandColor.sharedInstance.textView;
         }
         
-        self.tableView.tableHeaderView = self.searchController.searchBar;
-        [self.tableView setContentOffset:CGPointMake(0, self.searchController.searchBar.frame.size.height - self.tableView.contentOffset.y)];
+        //self.tableView.tableHeaderView = self.searchController.searchBar;
+        //[self.tableView setContentOffset:CGPointMake(0, self.searchController.searchBar.frame.size.height - self.tableView.contentOffset.y)];
         
     } else {