test(ios): cover context erasure and native capability restrictions

Add Apple-platform tests without presenting them as Linux results. Improve native dark-mode contrast and keep the portable policy suite separate from WebKit tests. Swift formatting and syntax checks pass; Xcode execution remains required.
This commit is contained in:
Yuvomi Mobile Contributors committed 2026-10-21 07:18:42 +02:00
1 parent 69c48169e2
commit f776c853c6
4 files changed
+36 -3

No files matched your search

+5 -1
View File
@@ -10,6 +10,7 @@ struct ContentView: View {
@State private var settings = false
@State private var erasing = false
@Environment(\.scenePhase) private var scenePhase
@Environment(\.colorScheme) private var colorScheme
var body: some View {
NavigationStack {
@@ -75,7 +76,10 @@ struct ContentView: View {
}
}
.navigationTitle("Yuvomi Mobile").navigationBarTitleDisplayMode(.inline)
.tint(Color(red: 108 / 255, green: 58 / 255, blue: 237 / 255))
.tint(
colorScheme == .dark
? Color(red: 167 / 255, green: 139 / 255, blue: 250 / 255)
: Color(red: 108 / 255, green: 58 / 255, blue: 237 / 255))
}
.task {
if server == nil, let existing = try? ServerAddress(input) {