]> git.r.bdr.sh - rbdr/captura/blobdiff - Captura/Presentation/Screens/PreferencesScreen.swift
Add multimonitor support
[rbdr/captura] / Captura / Presentation / Screens / PreferencesScreen.swift
index f80950244b7908a79d8d901c3df3c9af36d8b756..c9c0c07d359e87d7784e05b37516454706a70a96 100644 (file)
@@ -1,23 +1,18 @@
 import SwiftUI
 import SwiftUI
-import SwiftData
 
 struct PreferencesScreen: View {
 
 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")
     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")
         AdvancedSettings().tabItem {
           Label("Advanced", systemImage: "gear")
-        }.padding(8.0)
+        }.padding(8.0).frame(minWidth: 300, minHeight: 260)
       }.padding(16.0)
     }
 }
 
 #Preview {
   PreferencesScreen()
       }.padding(16.0)
     }
 }
 
 #Preview {
   PreferencesScreen()
-        .modelContainer(for: Item.self, inMemory: true)
 }
 }