Polish tvOS playlist sheets for focus and narrow layout

This commit is contained in:
Arkadiusz Fal
2026-04-17 02:33:55 +02:00
parent e583aa3fd7
commit 87965d654d
2 changed files with 25 additions and 24 deletions

View File

@@ -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