mawaqit / android-tv-app

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

Integrate app update scheduling with prayer times #1140

Closed YassinNouh21 closed 1 month ago

YassinNouh21 commented 1 month ago

This PR integrates the app update scheduling with prayer times, ensuring that the app update check runs 30 minutes after the Maghrib prayer time. This feature is implemented by calculating the duration until 30 minutes after the Maghrib prayer time and scheduling the app update check to run at that time.

Changes:

Code Changes:

The code changes are included in the attached patch file. The main changes are in AppUpdateNotifier and landscape_normal_home, portrait_normal_home, landscape_turkish_home, and portrait_turkish_home files.