X-Git-Url: https://git.r.bdr.sh/rbdr/captura/blobdiff_plain/a4e804275517af683afa1733e2db7c383c306f2b..9be247c36cb15153de2cbafe7e1c53209182f29e:/Captura/Presentation/Screens/PreferencesScreen.swift?ds=sidebyside diff --git a/Captura/Presentation/Screens/PreferencesScreen.swift b/Captura/Presentation/Screens/PreferencesScreen.swift index f809502..17ec3d7 100644 --- a/Captura/Presentation/Screens/PreferencesScreen.swift +++ b/Captura/Presentation/Screens/PreferencesScreen.swift @@ -1,23 +1,21 @@ 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) + AboutSettings().tabItem { + Label("About", systemImage: "questionmark.circle.fill") + }.padding(8.0).frame(minWidth: 300, minHeight: 260) }.padding(16.0) } } #Preview { PreferencesScreen() - .modelContainer(for: Item.self, inMemory: true) }