- Adaptive iPhone/iPad layout with NavigationSplitView sidebar - Auto-detect SSL-pinned domains, fall back to passthrough - Certificate install via local HTTP server (Safari profile flow) - App Group-backed CA, per-domain leaf cert LRU cache - DB-backed config repository, Darwin notification throttling - Rules engine, breakpoint rules, pinned domain tracking - os.Logger instrumentation across tunnel/proxy/mitm/capture/cert/rules/db/ipc/ui - Fix dyld framework embed, race conditions, thread safety
20 lines
527 B
Swift
20 lines
527 B
Swift
import SwiftUI
|
|
import LocalAuthentication
|
|
|
|
struct AppLockView: View {
|
|
@Environment(AppState.self) private var appState
|
|
|
|
var body: some View {
|
|
@Bindable var appState = appState
|
|
|
|
List {
|
|
Section {
|
|
Toggle("App Lock", isOn: $appState.isAppLockEnabled)
|
|
} footer: {
|
|
Text("When enabled, the app will require Face ID, Touch ID, or your device passcode to unlock each time you open it.")
|
|
}
|
|
}
|
|
.navigationTitle("App Lock")
|
|
}
|
|
}
|