Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
neon443
2025-09-24 22:22:52 +01:00
6 changed files with 16 additions and 7 deletions

View File

@@ -5,8 +5,8 @@
// Created by neon443 on 06/06/2025. // Created by neon443 on 06/06/2025.
// //
VERSION = 1.8 VERSION = 1.10
BUILD = 58 BUILD = 186
// Configuration settings file format documentation can be found at: // Configuration settings file format documentation can be found at:
// https://developer.apple.com/documentation/xcode/adding-a-build-configuration-file-to-your-project // https://developer.apple.com/documentation/xcode/adding-a-build-configuration-file-to-your-project

1
Privacy.md Normal file
View File

@@ -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.

View File

@@ -11,10 +11,6 @@ using namespace metal;
[[ stitchable ]] half4 crt(float2 pos, half4 color, float2 size, float time) { [[ stitchable ]] half4 crt(float2 pos, half4 color, float2 size, float time) {
float2 uv = pos/size; 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 //scanlines
half scanline = 0.5 + 0.5 * sin(uv.y * size.y*2); half scanline = 0.5 + 0.5 * sin(uv.y * size.y*2);

View File

@@ -23,7 +23,8 @@ struct HostSymbolPicker: View {
var body: some View { var body: some View {
ZStack { ZStack {
Rectangle() Rectangle()
.foregroundStyle(cScheme == .dark ? .black : .gray) .modifier(glassEffectCompat())
// .foregroundStyle(cScheme == .dark ? .black : .gray)
VStack(alignment: .center, spacing: 0) { VStack(alignment: .center, spacing: 0) {
ScrollView(.horizontal) { ScrollView(.horizontal) {
HStack { HStack {

View File

@@ -8,6 +8,16 @@
import Foundation import Foundation
import SwiftUI import SwiftUI
struct glassEffectCompat: ViewModifier {
func body(content: Content) -> some View {
if #available(iOS 19, *) {
content.glassEffect()
} else {
content
}
}
}
struct glassButton: ViewModifier { struct glassButton: ViewModifier {
var prominent: Bool var prominent: Bool

View File

@@ -219,6 +219,7 @@ struct SettingsView: View {
} }
} }
} }
.navigationTitle("Settings")
.listStyle(.insetGrouped) .listStyle(.insetGrouped)
.scrollContentBackground(.hidden) .scrollContentBackground(.hidden)
.onChange(of: hostsManager.settings) { _ in .onChange(of: hostsManager.settings) { _ in