Skip to content

Commit

Permalink
Fix Apple TV build error
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsaidi committed Dec 4, 2023
1 parent 04d4d5d commit 57a4a4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Sources/ScrollKit/Examples/Spotify+PreviewScreen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ public extension Spotify {
Spotify.PreviewScreenHeader(
info: info,
headerVisibleRatio: headerVisibleRatio
).onTapGesture {
print("Tapped")
}
)
}

var toolbarTitleView: some View {
Expand Down
2 changes: 1 addition & 1 deletion Sources/ScrollKit/ScrollViewHeader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private extension View {
}
}
.navigationTitle("Test")
#if canImport(UIKit)
#if os(iOS)
.navigationBarTitleDisplayMode(.inline)
#endif
}
Expand Down

0 comments on commit 57a4a4b

Please sign in to comment.