From 62f7e3eeb3a583044869d1a531154a5f8103b6d6 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Tue, 15 Sep 2026 18:03:04 +0200 Subject: [PATCH] Let the playlist selector's account picker collapse on tvOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tvOS branch pinned the picker to .inline over a fear that a menu would dismiss the sheet it sits in — that is true of the hardware Menu button and a fullScreenCover, not of a menu-style picker in a sheet. The inline rows meanwhile filled the card with every account before the first playlist. One .menu picker on every platform, device-verified: picking another account swaps the section in place. --- Yattee/Views/Video/PlaylistSelectorSheet.swift | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Yattee/Views/Video/PlaylistSelectorSheet.swift b/Yattee/Views/Video/PlaylistSelectorSheet.swift index 57c42ab5..282dc9bd 100644 --- a/Yattee/Views/Video/PlaylistSelectorSheet.swift +++ b/Yattee/Views/Video/PlaylistSelectorSheet.swift @@ -185,13 +185,7 @@ struct PlaylistSelectorSheet: View { .tag(DataContext.account(account.id)) } } - #if os(tvOS) - // A tvOS Menu dismisses the presentation it sits in; inline rows are - // the presentation that survives. - .pickerStyle(.inline) - #else .pickerStyle(.menu) - #endif } /// The pick the sheet opens on: the account the app is browsing as, when