Skip to content

Commit 8ec12a2

Browse files
committed
fix build error (Xcode 14.3)
1 parent 3332663 commit 8ec12a2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

V2exOS.xcodeproj/project.pbxproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,7 @@
602602
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
603603
GCC_WARN_UNUSED_FUNCTION = YES;
604604
GCC_WARN_UNUSED_VARIABLE = YES;
605+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
605606
MACOSX_DEPLOYMENT_TARGET = 12.0;
606607
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
607608
MTL_FAST_MATH = YES;
@@ -659,6 +660,7 @@
659660
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
660661
GCC_WARN_UNUSED_FUNCTION = YES;
661662
GCC_WARN_UNUSED_VARIABLE = YES;
663+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
662664
MACOSX_DEPLOYMENT_TARGET = 12.0;
663665
MTL_ENABLE_DEBUG_INFO = NO;
664666
MTL_FAST_MATH = YES;
@@ -950,7 +952,7 @@
950952
repositoryURL = "https://github.com/onevcat/Kingfisher";
951953
requirement = {
952954
kind = upToNextMajorVersion;
953-
minimumVersion = 7.0.0;
955+
minimumVersion = 7.7.0;
954956
};
955957
};
956958
0DA3F3A228A411ED00E7224D /* XCRemoteSwiftPackageReference "KeychainAccess" */ = {

V2exOS.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

V2exOS/Views/TopicDetail/CommentListView.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ struct CommentListView: View {
5454
UserName(username)
5555
}
5656

57-
if let created = comment.created {
58-
Text(Date(timeIntervalSince1970: TimeInterval(created)).fromNow())
59-
}
57+
Text(Date(timeIntervalSince1970: TimeInterval(comment.created)).fromNow())
6058

6159
Spacer()
6260

0 commit comments

Comments
 (0)