mirror of
https://github.com/yattee/yattee.git
synced 2026-05-13 02:45:03 +00:00
Fix collapsed sheets on macOS across the app
Add macOS-only minimum frame sizing to sheets that wrap a NavigationStack/Form without intrinsic size, so they render properly instead of collapsing to just the toolbar. Affects Customize Home, subscription/channel view options, playlist create/edit, search filters, media browser options, instance picker, log filters, preset editor, and legacy data import result.
This commit is contained in:
@@ -32,6 +32,9 @@ struct MediaBrowserViewOptionsSheet: View {
|
||||
.presentationDetents([.height(280)])
|
||||
.presentationDragIndicator(.visible)
|
||||
#endif
|
||||
#if os(macOS)
|
||||
.frame(minWidth: 420, minHeight: 320)
|
||||
#endif
|
||||
.onAppear {
|
||||
// Reset sort order if current selection is not available for this source type
|
||||
if !availableSortOptions.contains(sortOrder) {
|
||||
|
||||
Reference in New Issue
Block a user