amugofjava / anytime_podcast_player

Simple, easy to use Podcast player app written in Flutter and Dart.
BSD 3-Clause "New" or "Revised" License
376 stars 99 forks source link

A failed download (no internet) stays in "downloading" state. #105

Closed Chralu closed 9 months ago

Chralu commented 9 months ago

Describe the bug When requesting an episode download while internet access is down, an exception is raised, but the UI stays in "download in progress" mode.

To Reproduce Steps to reproduce the behavior:

  1. Go to a podcast episodes list
  2. Set phone in Airplane mode
  3. Tap on the download button of an episode
  4. Logs show an exception and UI shows the download in progress icon

Expected behavior UI should show the not downloaded episode icon. Maybe a Snackbar could appear to inform the user of the failure cause.

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.