diff --git a/SemicolonDesign/Sources/Photos/SDPhotoPicker/SDPhotoPickerModifier.swift b/SemicolonDesign/Sources/Photos/SDPhotoPicker/SDPhotoPickerModifier.swift index 26742070..ab9db27e 100644 --- a/SemicolonDesign/Sources/Photos/SDPhotoPicker/SDPhotoPickerModifier.swift +++ b/SemicolonDesign/Sources/Photos/SDPhotoPicker/SDPhotoPickerModifier.swift @@ -14,14 +14,14 @@ struct SDPhotoPickerModifier: ViewModifier { self.isPresented = isPresented self.singleSelection = selection self.multipleSelection = nil - self.isError = errorAction + self.errorAction = errorAction } init(isPresented: Binding, selection: Binding<[UIImage]>, errorAction: (() -> Void)?) { self.isPresented = isPresented self.singleSelection = nil self.multipleSelection = selection - self.isError = errorAction + self.errorAction = errorAction } func body(content: Content) -> some View {