CMS-Android
CMS-Android copied to clipboard
Fix #314: Enroling already enroled course does not give meaningful error
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.
Squash your commits into one and provide a more meaningful commit message.
The commit subject is too long, and make close #314 the last line. Also add this change to the changelog.