Initial project setup - Phases 1-3 complete
This commit is contained in:
27
UI/More/AdvancedSettingsView.swift
Normal file
27
UI/More/AdvancedSettingsView.swift
Normal file
@@ -0,0 +1,27 @@
|
||||
import SwiftUI
|
||||
import ProxyCore
|
||||
|
||||
struct AdvancedSettingsView: View {
|
||||
@State private var hideSystemTraffic = IPCManager.shared.hideSystemTraffic
|
||||
@State private var showImagePreview = true
|
||||
|
||||
var body: some View {
|
||||
Form {
|
||||
Section {
|
||||
Toggle("Hide iOS System Traffic", isOn: $hideSystemTraffic)
|
||||
.onChange(of: hideSystemTraffic) { _, newValue in
|
||||
IPCManager.shared.hideSystemTraffic = newValue
|
||||
}
|
||||
} footer: {
|
||||
Text("Hide traffic from Apple system services like push notifications, iCloud sync, and analytics.")
|
||||
}
|
||||
|
||||
Section {
|
||||
Toggle("Show Image Preview", isOn: $showImagePreview)
|
||||
} footer: {
|
||||
Text("Display thumbnail previews for image responses in the traffic list.")
|
||||
}
|
||||
}
|
||||
.navigationTitle("Advanced")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user