X-Git-Url: https://git.r.bdr.sh/rbdr/captura/blobdiff_plain/a4e804275517af683afa1733e2db7c383c306f2b..refs/heads/rbdr-multimonitor:/Captura/Presentation/Screens/PreferencesScreen.swift?ds=inline diff --git a/Captura/Presentation/Screens/PreferencesScreen.swift b/Captura/Presentation/Screens/PreferencesScreen.swift index f809502..c9c0c07 100644 --- a/Captura/Presentation/Screens/PreferencesScreen.swift +++ b/Captura/Presentation/Screens/PreferencesScreen.swift @@ -1,23 +1,18 @@ import SwiftUI -import SwiftData struct PreferencesScreen: View { - @Environment(\.modelContext) private var modelContext - @Query private var items: [Item] - var body: some View { TabView { OutputSettings().tabItem { Label("Output", systemImage: "video.fill") - }.padding(8.0) + }.padding(8.0).frame(minWidth: 300, minHeight: 130) AdvancedSettings().tabItem { Label("Advanced", systemImage: "gear") - }.padding(8.0) + }.padding(8.0).frame(minWidth: 300, minHeight: 260) }.padding(16.0) } } #Preview { PreferencesScreen() - .modelContainer(for: Item.self, inMemory: true) }