Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
marinofaggiana committed Dec 18, 2024
1 parent 9f19384 commit db25343
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion iOSClient/Files/NCFiles.swift
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,13 @@ class NCFiles: NCCollectionViewCommon {
guard !isSearchingMode else {
return super.reloadDataSource()
}
self.semaphoreReloadDataSource.wait()
// self.semaphoreReloadDataSource.wait()

if self.semaphoreReloadDataSource.wait(timeout: .now() + 2) == .success {
self.semaphoreReloadDataSource.signal()
} else {
self.semaphoreReloadDataSource.signal()
}

var predicate = self.defaultPredicate
let predicateDirectory = NSPredicate(format: "account == %@ AND serverUrl == %@", session.account, self.serverUrl)
Expand Down

0 comments on commit db25343

Please sign in to comment.