From 0b039f2c42157e53fa153f4929da8df7e5d5d8f0 Mon Sep 17 00:00:00 2001 From: neon443 <69979447+neon443@users.noreply.github.com> Date: Fri, 26 Sep 2025 10:53:21 +0100 Subject: [PATCH] xros hehe --- ShhShell.xcodeproj/project.pbxproj | 8 ++++---- ShhShell/Views/ContentView.swift | 4 +++- ShhShell/Views/Fonts/FontManagerView.swift | 1 + ShhShell/Views/Snippets/SnippetManagerView.swift | 1 + 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ShhShell.xcodeproj/project.pbxproj b/ShhShell.xcodeproj/project.pbxproj index f55f0a9..4c31274 100644 --- a/ShhShell.xcodeproj/project.pbxproj +++ b/ShhShell.xcodeproj/project.pbxproj @@ -1110,12 +1110,12 @@ PRODUCT_BUNDLE_IDENTIFIER = com.neon443.ShhShell; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator"; SUPPORTS_MACCATALYST = NO; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_STRICT_CONCURRENCY = complete; SWIFT_VERSION = 6.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = "1,2,7"; }; name = Debug; }; @@ -1154,12 +1154,12 @@ PRODUCT_BUNDLE_IDENTIFIER = com.neon443.ShhShell; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator"; SUPPORTS_MACCATALYST = NO; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_STRICT_CONCURRENCY = complete; SWIFT_VERSION = 6.0; - TARGETED_DEVICE_FAMILY = "1,2"; + TARGETED_DEVICE_FAMILY = "1,2,7"; }; name = Release; }; diff --git a/ShhShell/Views/ContentView.swift b/ShhShell/Views/ContentView.swift index e6f498f..72d26b7 100644 --- a/ShhShell/Views/ContentView.swift +++ b/ShhShell/Views/ContentView.swift @@ -13,7 +13,7 @@ struct ContentView: View { @ObservedObject var keyManager: KeyManager var body: some View { - NavigationStack { + NavigationSplitView { ZStack { hostsManager.selectedTheme.background.suiColor.opacity(0.7) .ignoresSafeArea(.all) @@ -97,6 +97,8 @@ struct ContentView: View { } } } + } detail: { + Text("Detail?") } } } diff --git a/ShhShell/Views/Fonts/FontManagerView.swift b/ShhShell/Views/Fonts/FontManagerView.swift index 489f99d..7b61225 100644 --- a/ShhShell/Views/Fonts/FontManagerView.swift +++ b/ShhShell/Views/Fonts/FontManagerView.swift @@ -69,6 +69,7 @@ struct FontManagerView: View { } } } + .navigationTitle("Fonts") .scrollContentBackground(.hidden) } } diff --git a/ShhShell/Views/Snippets/SnippetManagerView.swift b/ShhShell/Views/Snippets/SnippetManagerView.swift index 8870977..5b15ae1 100644 --- a/ShhShell/Views/Snippets/SnippetManagerView.swift +++ b/ShhShell/Views/Snippets/SnippetManagerView.swift @@ -78,6 +78,7 @@ struct SnippetManagerView: View { } } } + .navigationTitle("Snippets") } } }