Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions samples/CameraAccess/CameraAccess/Settings/SettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ struct SettingsView: View {
@State private var accountEmail: String?
@State private var showResetConfirmation = false
@State private var gatewayStatus: GatewayStatus = .checking
@State private var selectedPhoto: PhotosPickerItem? = nil
@State private var selectedImageData: Data? = nil
// Applies immediately rather than on Save: the root view observes the same
// key and swaps the capture pipeline live.
@AppStorage(CaptureSource.defaultsKey) private var captureSourceRaw = CaptureSource.iPhoneCamera.rawValue
Expand Down