]> git.r.bdr.sh - rbdr/captura/blob - Captura/Presentation/Screens/PreferencesScreen.swift
f80950244b7908a79d8d901c3df3c9af36d8b756
[rbdr/captura] / Captura / Presentation / Screens / PreferencesScreen.swift
1 import SwiftUI
2 import SwiftData
3
4 struct PreferencesScreen: View {
5 @Environment(\.modelContext) private var modelContext
6 @Query private var items: [Item]
7
8 var body: some View {
9 TabView {
10 OutputSettings().tabItem {
11 Label("Output", systemImage: "video.fill")
12 }.padding(8.0)
13 AdvancedSettings().tabItem {
14 Label("Advanced", systemImage: "gear")
15 }.padding(8.0)
16 }.padding(16.0)
17 }
18 }
19
20 #Preview {
21 PreferencesScreen()
22 .modelContainer(for: Item.self, inMemory: true)
23 }