openedx / openedx-app-ios

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

[iOS] Create an alert about the deletion of a downloaded video #264

Closed sergeymomot closed 7 months ago

sergeymomot commented 8 months ago

We need to add an alert when a downloaded video is deleted. To do this, first of all we need to create an alert, since at the moment such an alert does not exist. We can use as a basis "Leave profile?" alert (can be found here: Profile -> Edit -> change something -> tap back). Leave and Keep editing buttons should be replaced with Delete and Cancel buttons. Icon can be used the same. Alert text: something like "Are you sure you want to delete video(s) for "Module name" ?" (when deleting saved video for one module) and "Are you sure you want to delete video(s) for "Course name" ?" (when deleting all saved content by using the switch on the download panel). Alert name: "Warning" , "Delete downloaded content?" or something else (can be discussed)

59115ba5-5a05-44aa-82ea-9979511c06ae