mawaqit / android-tv-app

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

Iqama = 0 is not working correctly, the countdown must be hidden and the Iqama must start immediately after adhan and duaa, in the current vers i force iqama to 3 minutes when it's under 3 #554

Closed ismaelAbogabal closed 1 year ago

ismaelAbogabal commented 1 year ago

@ibrahim-zehhaf-mawaqit Salam Brother. Could explain this issue a little bit?

ibrahim-zehhaf-mawaqit commented 1 year ago

Yes try to put 0 min in iqama of any prayer and observe teh behaviour when iqama starts. Here is the logic I implemented in js https://github.com/mawaqit/backend/blob/c46adfaeb467ec4da9fee2eebd0690fcf8164fc6/src/AppBundle/Resources/public/prayer-times/js/prayer.js#L163 I force iqama to 2 min if it's lower then or equal to 2 min, because even if the admin chooses 0 min for example we need minimum time for adhan...etc

ibrahim-zehhaf-mawaqit commented 1 year ago
ismaelAbogabal commented 1 year ago

@ibrahim-zehhaf-mawaqit Any updates about this issue