mawaqit / android-tv-app

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

refactor: remove the filter of the time in the `announcement` #1129

Closed YassinNouh21 closed 5 months ago

YassinNouh21 commented 5 months ago

๐Ÿ“ Summary

This PR for issue : #1128 Refactors the AnnouncementWorkflowNotifier to remove the time-based filtering from the announcement display logic.

Description

This change simplifies the process of handling announcements by removing the time filter that restricted announcements to their start and end times. Now, all provided announcements are considered eligible for display without time constraints. This modification is expected to streamline the display process and reduce the complexity of the code.

Tests

๐Ÿงช Use case 1

๐Ÿ’ฌ Description: Tested the announcements display in both linear and repeated modes to ensure that all announcements are now considered without time filtering. Verified that announcements outside their previously defined time frames are displayed correctly.

๐Ÿ“ท Screenshots or GIFs (if applicable): (Screenshots or GIFs showing the announcement display without time filtering can be added here.)

Checklist: