Skip to content

Commit

Permalink
Version 6.2.4
Browse files Browse the repository at this point in the history
Signed-off-by: Marino Faggiana <[email protected]>
  • Loading branch information
marinofaggiana committed Jan 20, 2025
1 parent ee8f7a6 commit a1c7cdd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Nextcloud.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -5557,7 +5557,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 0;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = NKUJUXUJ3B;
ENABLE_STRICT_OBJC_MSGSEND = YES;
Expand All @@ -5584,7 +5584,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 6.2.3;
MARKETING_VERSION = 6.2.4;
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = "-v";
OTHER_LDFLAGS = "";
Expand Down Expand Up @@ -5623,7 +5623,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 0;
DEVELOPMENT_TEAM = NKUJUXUJ3B;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
Expand All @@ -5647,7 +5647,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 6.2.3;
MARKETING_VERSION = 6.2.4;
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = "-v";
OTHER_LDFLAGS = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ extension NCSectionFirstHeader: UICollectionViewDataSource {
for case let cell as NCRecommendationsCell in self.collectionViewRecommendations.visibleCells {
if cell.id == recommendedFiles.id {
cell.image.contentMode = .scaleAspectFill
if metadata.classFile == NKCommon.TypeClassFile.document.rawValue {
cell.setImageCorner(withBorder: true)
}
UIView.transition(with: cell.image, duration: 0.75, options: .transitionCrossDissolve, animations: {
cell.image.image = image
}, completion: nil)
Expand All @@ -257,7 +260,7 @@ extension NCSectionFirstHeader: UICollectionViewDataSource {
}
}

if metadata.hasPreview, metadata.classFile == NKCommon.TypeClassFile.document.rawValue, imagePreview == nil {
if metadata.hasPreview, metadata.classFile == NKCommon.TypeClassFile.document.rawValue, imagePreview != nil {
cell.setImageCorner(withBorder: true)
} else {
cell.setImageCorner(withBorder: false)
Expand Down

0 comments on commit a1c7cdd

Please sign in to comment.