From 37e2165725824ac651f11b0240d2c1f9b19736a4 Mon Sep 17 00:00:00 2001 From: neon443 <69979447+neon443@users.noreply.github.com> Date: Tue, 23 Sep 2025 11:23:33 +0100 Subject: [PATCH 1/3] minor update --- ShhShell/Terminal/CRT.metal | 4 ---- ShhShell/Views/Settings/SettingsView.swift | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ShhShell/Terminal/CRT.metal b/ShhShell/Terminal/CRT.metal index 96e920a..4ed2547 100644 --- a/ShhShell/Terminal/CRT.metal +++ b/ShhShell/Terminal/CRT.metal @@ -11,10 +11,6 @@ using namespace metal; [[ stitchable ]] half4 crt(float2 pos, half4 color, float2 size, float time) { float2 uv = pos/size; - float2 topLeading = float2(0, 0); - float2 topTrailing = float2(0, size.x); - float2 bottomLeading = float2(size.y, 0); - float2 bottomTrailing = size; //scanlines half scanline = 0.5 + 0.5 * sin(uv.y * size.y*2); diff --git a/ShhShell/Views/Settings/SettingsView.swift b/ShhShell/Views/Settings/SettingsView.swift index 229358f..459c1cb 100644 --- a/ShhShell/Views/Settings/SettingsView.swift +++ b/ShhShell/Views/Settings/SettingsView.swift @@ -219,6 +219,7 @@ struct SettingsView: View { } } } + .navigationTitle("Settings") .listStyle(.insetGrouped) .scrollContentBackground(.hidden) .onChange(of: hostsManager.settings) { _ in From 5132b4f69c93f6d640074ae27b5314bc7e1f8e2c Mon Sep 17 00:00:00 2001 From: neon443 <69979447+neon443@users.noreply.github.com> Date: Wed, 24 Sep 2025 12:29:21 +0100 Subject: [PATCH 2/3] glass effect compat --- Config.xcconfig | 4 ++-- ShhShell/Views/Hosts/HostSymbolPicker.swift | 3 ++- ShhShell/Views/Misc/ViewModifiers.swift | 10 ++++++++++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Config.xcconfig b/Config.xcconfig index 08a2646..5190890 100644 --- a/Config.xcconfig +++ b/Config.xcconfig @@ -5,8 +5,8 @@ // Created by neon443 on 06/06/2025. // -VERSION = 1.8 -BUILD = 58 +VERSION = 1.10 +BUILD = 186 // Configuration settings file format documentation can be found at: // https://developer.apple.com/documentation/xcode/adding-a-build-configuration-file-to-your-project diff --git a/ShhShell/Views/Hosts/HostSymbolPicker.swift b/ShhShell/Views/Hosts/HostSymbolPicker.swift index 75f69ea..b5c9040 100644 --- a/ShhShell/Views/Hosts/HostSymbolPicker.swift +++ b/ShhShell/Views/Hosts/HostSymbolPicker.swift @@ -23,7 +23,8 @@ struct HostSymbolPicker: View { var body: some View { ZStack { Rectangle() - .foregroundStyle(cScheme == .dark ? .black : .gray) + .modifier(glassEffectCompat()) +// .foregroundStyle(cScheme == .dark ? .black : .gray) VStack(alignment: .center, spacing: 0) { ScrollView(.horizontal) { HStack { diff --git a/ShhShell/Views/Misc/ViewModifiers.swift b/ShhShell/Views/Misc/ViewModifiers.swift index 84072ad..015c864 100644 --- a/ShhShell/Views/Misc/ViewModifiers.swift +++ b/ShhShell/Views/Misc/ViewModifiers.swift @@ -8,6 +8,16 @@ import Foundation import SwiftUI +struct glassEffectCompat: ViewModifier { + func body(content: Content) -> some View { + if #available(iOS 19, *) { + content.glassEffect() + } else { + content + } + } +} + struct glassButton: ViewModifier { var prominent: Bool From c4ba38c3bf163b78e9713aaa6ad9b8354a166805 Mon Sep 17 00:00:00 2001 From: Nihaal Sharma <69979447+neon443@users.noreply.github.com> Date: Wed, 24 Sep 2025 12:36:19 +0100 Subject: [PATCH 3/3] add privacy --- Privacy.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 Privacy.md diff --git a/Privacy.md b/Privacy.md new file mode 100644 index 0000000..c4f604d --- /dev/null +++ b/Privacy.md @@ -0,0 +1 @@ +We do not collect any data from your usage of this app. This means we cannot sell, use or leak any usage data as we simply do not have any. Feel free to inspect source code.