diff --git a/Yattee/Views/Components/ViewOptionsSheet.swift b/Yattee/Views/Components/ViewOptionsSheet.swift index fcbfbf6c..34a79a79 100644 --- a/Yattee/Views/Components/ViewOptionsSheet.swift +++ b/Yattee/Views/Components/ViewOptionsSheet.swift @@ -155,6 +155,9 @@ struct ViewOptionsSheet: View { .presentationDetents([.height(260)]) .presentationDragIndicator(.visible) #endif + #if os(macOS) + .frame(minWidth: 420, minHeight: 320) + #endif } } diff --git a/Yattee/Views/Home/HomeView.swift b/Yattee/Views/Home/HomeView.swift index 84c2aed9..45522f56 100644 --- a/Yattee/Views/Home/HomeView.swift +++ b/Yattee/Views/Home/HomeView.swift @@ -118,6 +118,9 @@ struct HomeView: View { } } } + #if os(macOS) + .frame(minWidth: 500, minHeight: 450) + #endif } #endif .onAppear { diff --git a/Yattee/Views/MediaBrowser/MediaBrowserViewOptionsSheet.swift b/Yattee/Views/MediaBrowser/MediaBrowserViewOptionsSheet.swift index a0bb9621..efcb346c 100644 --- a/Yattee/Views/MediaBrowser/MediaBrowserViewOptionsSheet.swift +++ b/Yattee/Views/MediaBrowser/MediaBrowserViewOptionsSheet.swift @@ -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) { diff --git a/Yattee/Views/Playlist/PlaylistFormSheet.swift b/Yattee/Views/Playlist/PlaylistFormSheet.swift index 10920589..42536a1f 100644 --- a/Yattee/Views/Playlist/PlaylistFormSheet.swift +++ b/Yattee/Views/Playlist/PlaylistFormSheet.swift @@ -89,6 +89,9 @@ struct PlaylistFormSheet: View { #if os(iOS) .presentationDetents([.medium]) #endif + #if os(macOS) + .frame(minWidth: 500, minHeight: 400) + #endif } // MARK: - Form Content diff --git a/Yattee/Views/Search/SearchView.swift b/Yattee/Views/Search/SearchView.swift index a40dbbba..7ed6ce4d 100644 --- a/Yattee/Views/Search/SearchView.swift +++ b/Yattee/Views/Search/SearchView.swift @@ -1476,6 +1476,9 @@ struct SearchFiltersSheet: View { } } } + #if os(macOS) + .frame(minWidth: 500, minHeight: 400) + #endif } } diff --git a/Yattee/Views/Settings/InstancePickerSheet.swift b/Yattee/Views/Settings/InstancePickerSheet.swift index eb45cefd..81d85cbd 100644 --- a/Yattee/Views/Settings/InstancePickerSheet.swift +++ b/Yattee/Views/Settings/InstancePickerSheet.swift @@ -65,6 +65,9 @@ struct InstancePickerSheet: View { } } .presentationDetents([.medium, .large]) + #if os(macOS) + .frame(minWidth: 450, minHeight: 500) + #endif } } diff --git a/Yattee/Views/Settings/LegacyDataImportView.swift b/Yattee/Views/Settings/LegacyDataImportView.swift index 09a5c042..be788efd 100644 --- a/Yattee/Views/Settings/LegacyDataImportView.swift +++ b/Yattee/Views/Settings/LegacyDataImportView.swift @@ -219,6 +219,9 @@ struct LegacyDataImportView: View { .padding() .interactiveDismissDisabled() } + #if os(macOS) + .frame(minWidth: 500, minHeight: 450) + #endif } // MARK: - Actions diff --git a/Yattee/Views/Settings/LogViewerView.swift b/Yattee/Views/Settings/LogViewerView.swift index ccf2c8d8..34ed6709 100644 --- a/Yattee/Views/Settings/LogViewerView.swift +++ b/Yattee/Views/Settings/LogViewerView.swift @@ -308,6 +308,9 @@ private struct LogFiltersSheet: View { } } .presentationDetents([.medium]) + #if os(macOS) + .frame(minWidth: 500, minHeight: 500) + #endif } private func binding(for category: LogCategory) -> Binding { diff --git a/Yattee/Views/Settings/PlayerControls/PresetEditorView.swift b/Yattee/Views/Settings/PlayerControls/PresetEditorView.swift index 8f5fcb12..4991ad77 100644 --- a/Yattee/Views/Settings/PlayerControls/PresetEditorView.swift +++ b/Yattee/Views/Settings/PlayerControls/PresetEditorView.swift @@ -145,6 +145,9 @@ struct PresetEditorView: View { #if os(iOS) .presentationDetents([.medium]) #endif + #if os(macOS) + .frame(minWidth: 500, minHeight: 350) + #endif } private func saveIfValid() { diff --git a/Yattee/Views/Subscriptions/ManageChannelsView.swift b/Yattee/Views/Subscriptions/ManageChannelsView.swift index 6ae67cfc..57b6aa2c 100644 --- a/Yattee/Views/Subscriptions/ManageChannelsView.swift +++ b/Yattee/Views/Subscriptions/ManageChannelsView.swift @@ -189,6 +189,9 @@ struct ManageChannelsView: View { #endif #endif } + #if os(macOS) + .frame(minWidth: 500, minHeight: 400) + #endif .presentationDetents([.height(360), .large]) .presentationDragIndicator(.visible) .liquidGlassSheetContent(sourceID: "manageChannelsViewOptions", in: sheetTransition) diff --git a/Yattee/Views/Subscriptions/SubscriptionsView.swift b/Yattee/Views/Subscriptions/SubscriptionsView.swift index d37746f9..a4ccf471 100644 --- a/Yattee/Views/Subscriptions/SubscriptionsView.swift +++ b/Yattee/Views/Subscriptions/SubscriptionsView.swift @@ -341,6 +341,9 @@ struct SubscriptionsView: View { #endif #endif } + #if os(macOS) + .frame(minWidth: 500, minHeight: 450) + #endif .presentationDetents([.height(420), .large]) .presentationDragIndicator(.visible) .liquidGlassSheetContent(sourceID: "subscriptionsViewOptions", in: sheetTransition)