Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Photo view #2981

Merged
merged 27 commits into from
Jul 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
coding
Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
  • Loading branch information
marinofaggiana committed Jul 15, 2024
commit 3ba2eee5d345cfd632895cebc69470cb4b328f19
2 changes: 1 addition & 1 deletion iOSClient/Utility/NCUtility+Image.swift
Original file line number Diff line number Diff line change
@@ -257,7 +257,7 @@ extension NCUtility {
let width = metadata.width == 0 ? NCGlobal.shared.sizePreview : metadata.width
let height = metadata.height == 0 ? NCGlobal.shared.sizePreview : metadata.height

if FileManager().fileExists(atPath: filePath), metadata.status >= NCGlobal.shared.metadataStatusNormal {
if NCUtilityFileSystem().fileProviderStorageExists(metadata), metadata.status >= NCGlobal.shared.metadataStatusNormal {
var image: UIImage?
/// Create from IMAGE
if metadata.classFile == NKCommon.TypeClassFile.image.rawValue {