diff options
Diffstat (limited to 'Sora')
| -rw-r--r-- | Sora/SoraApp.swift | 19 |
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 } |