hi-manshu / Pluck

Pluck, a library that helps you to pick image via Gallery/Camera built using Compose
https://www.himanshoe.com
Apache License 2.0
363 stars 23 forks source link

Empty image file. #29

Open Ruineie opened 1 year ago

Ruineie commented 1 year ago

Describe the bug An empty image file will be saved if user ivokes the camera and doesn't take any photo or delete the image in the preview screen. To Reproduce Steps to reproduce the behavior: Scenario1

  1. Invoke the camera
  2. Do nothing and quit.
  3. An empty file appears in the gallery. Scenario2
  4. Invoke the camera
  5. Take a photo and delete in the preview screen.
  6. An empty file appears in the gallery.

Expected behavior The empty file should be deleted.

Desktop (please complete the following information):

Smartphone (please complete the following information):