mirror of
https://github.com/yattee/yattee.git
synced 2026-05-13 19:05:03 +00:00
Polish tvOS playlist sheets for focus and narrow layout
This commit is contained in:
@@ -79,6 +79,11 @@ struct PlaylistSelectorSheet: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
#if os(tvOS)
|
||||
.scrollClipDisabled()
|
||||
.padding(.horizontal, 40)
|
||||
.padding(.vertical, 24)
|
||||
#else
|
||||
.navigationTitle(String(localized: "playlist.addTo"))
|
||||
#if os(iOS)
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
@@ -93,6 +98,7 @@ struct PlaylistSelectorSheet: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
.sheet(isPresented: $showingNewPlaylist) {
|
||||
PlaylistFormSheet(mode: .create) { title, description in
|
||||
pendingPlaylistTitle = title
|
||||
|
||||
Reference in New Issue
Block a user