소스 검색

coding

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 년 전
부모
커밋
db4ca56867
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      iOSClient/Data/NCDataSource.swift

+ 1 - 0
iOSClient/Data/NCDataSource.swift

@@ -268,6 +268,7 @@ class NCDataSource: NSObject {
     }
 
     func isSameNumbersOfSections(numberOfSections: Int) -> Bool {
+        if self.metadatasForSection.count == 0 { return false }
         return numberOfSections == self.numberOfSections()
     }