mawaqit / android-tv-app

Prayer times App for Android TV
https://mawaqit.net
Other
34 stars 15 forks source link

feat: Handle mosque not found error in API and update mosque manager #1162

Open YassinNouh21 opened 1 month ago

YassinNouh21 commented 1 month ago

πŸ“ Summary

This PR addresses the issue where if the UID of a mosque is not found, the user should be removed or kicked out without an error in the application.

Description

Tests

πŸ§ͺ Use case 1

image


πŸ’¬ Description: When attempting to fetch a mosque by UID that does not exist, the application should catch the error, remove the user from the mosque context, and notify listeners without displaying an error message.

πŸ“· Screenshots or GIFs (if applicable): N/A

Checklist: