crux-bphc / CMS-Android

A custom Moodle app for the students of BITS Pilani, Hyderabad Campus.
MIT License
28 stars 39 forks source link

Fix #314: Enroling already enroled course does not give meaningful error #344

Open Code-R57 opened 2 years ago

Code-R57 commented 2 years ago

Added code to refresh the list of currently enrolled courses as in MyCoursesFragment and changed the error toast from "Unknown error occurred" to "Course Already Enrolled". In most cases, the list gets updated but in case it takes time the toast shows a meaningful error.

aryanarora180 commented 2 years ago

Squash your commits into one and provide a more meaningful commit message.

aryanarora180 commented 2 years ago

The commit subject is too long, and make close #314 the last line. Also add this change to the changelog.