Skip to content

Commit bfbf66a

Browse files
Fix build issue on Xcode 15 (#727)
1 parent a9084a7 commit bfbf66a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

DemoAppSwiftUI/ChannelHeader/NewChatView.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,7 @@ struct NewChatView: View, KeyboardReadable {
108108
struct TabBarVisibilityModifier: ViewModifier {
109109

110110
func body(content: Content) -> some View {
111-
if #available(iOS 18, *) {
112-
content.toolbarVisibility(.hidden, for: .bottomBar)
113-
} else if #available(iOS 16.0, *) {
111+
if #available(iOS 16.0, *) {
114112
content.toolbar(.hidden, for: .bottomBar)
115113
} else {
116114
content

StreamChatSwiftUI.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3843,8 +3843,8 @@
38433843
isa = XCRemoteSwiftPackageReference;
38443844
repositoryURL = "https://github.com/GetStream/stream-chat-swift.git";
38453845
requirement = {
3846-
branch = develop;
3847-
kind = branch;
3846+
kind = upToNextMajorVersion;
3847+
minimumVersion = 4.70.0;
38483848
};
38493849
};
38503850
E3A1C01A282BAC66002D1E26 /* XCRemoteSwiftPackageReference "sentry-cocoa" */ = {

0 commit comments

Comments
 (0)