minor change

This commit is contained in:
breadone 2024-07-03 21:09:50 +12:00
parent 950b8c124c
commit 5bbc90f877
No known key found for this signature in database

View File

@ -32,8 +32,6 @@ struct MainView: View {
// explicitly prompt them for approval.
if status == .notDetermined {
isAuthorized = await AVCaptureDevice.requestAccess(for: .video)
} else if status == .denied {
// TODO: show alert when denied
}
return isAuthorized