diff --git a/README.md b/README.md index 2a5b7f3..4634903 100644 --- a/README.md +++ b/README.md @@ -415,8 +415,8 @@ import SkipKit /// which can be observed with `onChange` to perform an action when the media URL is acquired. struct MediaButton : View { let type: MediaPickerType // either .camera or .library + @State var showPicker = false @Binding var selectedImageURL: URL? - @State private var showPicker = false var body: some View { Button(type == .camera ? "Take Photo" : "Select Media") {