Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marinofaggiana committed Dec 18, 2024
1 parent db25343 commit b7b896e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
8 changes: 4 additions & 4 deletions Nextcloud.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -5503,7 +5503,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 4;
CURRENT_PROJECT_VERSION = 0;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = NKUJUXUJ3B;
ENABLE_STRICT_OBJC_MSGSEND = YES;
Expand All @@ -5530,7 +5530,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 6.1.9;
MARKETING_VERSION = 6.2.0;
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = "-v";
OTHER_LDFLAGS = "";
Expand Down Expand Up @@ -5569,7 +5569,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 4;
CURRENT_PROJECT_VERSION = 0;
DEVELOPMENT_TEAM = NKUJUXUJ3B;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
Expand All @@ -5593,7 +5593,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 6.1.9;
MARKETING_VERSION = 6.2.0;
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = "-v";
OTHER_LDFLAGS = "";
Expand Down
8 changes: 1 addition & 7 deletions iOSClient/Files/NCFiles.swift
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,7 @@ class NCFiles: NCCollectionViewCommon {
guard !isSearchingMode else {
return super.reloadDataSource()
}
// self.semaphoreReloadDataSource.wait()

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

var predicate = self.defaultPredicate
let predicateDirectory = NSPredicate(format: "account == %@ AND serverUrl == %@", session.account, self.serverUrl)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,7 @@ class NCCollectionViewDataSource: NSObject {
counter += 1
}

DispatchQueue.main.async {
return completion(updated)
}
return completion(updated)
}
}

Expand Down

0 comments on commit b7b896e

Please sign in to comment.