From 75f211440f912dff50a92dfb7f89fb855d788b21 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 22 Feb 2025 05:28:58 -0800 Subject: feat: Development commit --- Sora/SoraApp.swift | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) (limited to 'Sora/SoraApp.swift') 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 } -- cgit v1.2.3