summaryrefslogtreecommitdiff
path: root/Sora/SoraApp.swift
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-02-22 05:28:58 -0800
committerFuwn <[email protected]>2025-02-22 05:28:58 -0800
commit75f211440f912dff50a92dfb7f89fb855d788b21 (patch)
tree8a64e4ff6b015f4a3433405068f190fd7f3a2f26 /Sora/SoraApp.swift
parentfeat: Development commit (diff)
downloadsora-testing-75f211440f912dff50a92dfb7f89fb855d788b21.tar.xz
sora-testing-75f211440f912dff50a92dfb7f89fb855d788b21.zip
feat: Development commit
Diffstat (limited to 'Sora/SoraApp.swift')
-rw-r--r--Sora/SoraApp.swift19
1 files changed, 6 insertions, 13 deletions
diff --git a/Sora/SoraApp.swift b/Sora/SoraApp.swift
index 70a01b5..aa5ac60 100644
--- a/Sora/SoraApp.swift
+++ b/Sora/SoraApp.swift
@@ -19,17 +19,10 @@ struct SoraApp: App {
}
}
-struct SoraApp_Previews: PreviewProvider {
- static var previews: some View {
- MainView()
- .environmentObject(Settings())
- .previewDevice(PreviewDevice(rawValue: "iPhone 16 Pro Max"))
- .previewDisplayName("iPhone")
-
- MainView()
- .environmentObject(Settings())
- .previewDevice(PreviewDevice(rawValue: "My Mac"))
- .previewDisplayName("Mac")
- .previewLayout(.fixed(width: 750, height: 800))
- }
+#Preview {
+ MainView()
+ .environmentObject(Settings())
+ #if os(macOS)
+ .frame(width: 736, height: 736)
+ #endif
}