]> git.r.bdr.sh - rbdr/captura/blobdiff - Captura/Presentation/Screens/PreferencesScreen.swift
Complete initial release
[rbdr/captura] / Captura / Presentation / Screens / PreferencesScreen.swift
index f80950244b7908a79d8d901c3df3c9af36d8b756..a9c380b8a57fb5ed1f9eb6218f962472d1679b99 100644 (file)
@@ -2,9 +2,6 @@ import SwiftUI
 import SwiftData
 
 struct PreferencesScreen: View {
-    @Environment(\.modelContext) private var modelContext
-    @Query private var items: [Item]
-    
     var body: some View {
       TabView {
         OutputSettings().tabItem {
@@ -13,11 +10,10 @@ struct PreferencesScreen: View {
         AdvancedSettings().tabItem {
           Label("Advanced", systemImage: "gear")
         }.padding(8.0)
-      }.padding(16.0)
+      }.padding(16.0).frame(minWidth: 300, minHeight: 250)
     }
 }
 
 #Preview {
   PreferencesScreen()
-        .modelContainer(for: Item.self, inMemory: true)
 }