openedx / openedx-app-ios

The mobile app for iOS for the Open EdX Platform.
Apache License 2.0
20 stars 15 forks source link

[iOS] Prompt | Confirmation Alert Missing Before Deleting Section-Level Downloaded Videos #456

Closed shafqat-muneer closed 2 months ago

shafqat-muneer commented 3 months ago

No confirmation alert appears before deleting section-level downloaded videos.

Steps to reproduce

  1. Navigate to the videos section.
  2. Tap on download button from the section.
  3. Downloading will start.
  4. A green button will appear, indicating that the videos have been downloaded.
  5. Tap the green button.
  6. The videos will be deleted without a confirmation prompt.

Demo Video:

https://github.com/openedx/openedx-app-ios/assets/11990137/568a7524-2b16-4e3e-a863-30fbf0b591ba

Expected Behavior:

Ideally, a confirmation alert should appear before deleting videos, as users might accidentally tap the delete button.