Skip to content

Commit

Permalink
Fix build issue on Xcode 15
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmitrevski committed Jan 22, 2025
1 parent a9084a7 commit c63dca5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions DemoAppSwiftUI/ChannelHeader/NewChatView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ struct NewChatView: View, KeyboardReadable {
struct TabBarVisibilityModifier: ViewModifier {

func body(content: Content) -> some View {
if #available(iOS 18, *) {
content.toolbarVisibility(.hidden, for: .bottomBar)
} else if #available(iOS 16.0, *) {
if #available(iOS 16.0, *) {
content.toolbar(.hidden, for: .bottomBar)
} else {
content
Expand Down

0 comments on commit c63dca5

Please sign in to comment.