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