tazzix / SalahWear

Salah timing schedule app and complication data provider for WearOS / Android Wear
Apache License 2.0
3 stars 5 forks source link

[Feature Request] highlight current prayer and add countdown timer to next prayer #5

Open OJ7 opened 1 year ago

OJ7 commented 1 year ago

It would be nice to have the current prayer time highlighted in the app similar to most prayer times apps.

Also, a countdown showing hh:mm:ss until next prayer would be helpful to see remaining time at a quick glance.

OJ7 commented 1 year ago

I added a simple countdown timer on the complication in my fork, but didn't make a pull request since it's more tailored to my needs/may not have proper logic.

tazzix commented 1 year ago

I added a simple countdown timer on the complication in my fork, but didn't make a pull request since it's more tailored to my needs/may not have proper logic.

There is a PR from another contributor to have this as a separate complication, I will merge it as soon as I can find time to test it.

tazzix commented 1 year ago

Please check the latest version and let me know if this is what you were referring to, my watch got bricked so I currently have no device but you can create a PR if your idea is different and I will try to merge the two features.

OJ7 commented 1 year ago

Please check the latest version and let me know if this is what you were referring to, my watch got bricked so I currently have no device but you can create a PR if your idea is different and I will try to merge the two features.

I'm sorry to hear about your watch. Was it the buggy firmware update for Galaxy Watch 4 that did that?

Assuming this is the top widget you are referring to, it seems halfway to what I was looking for by utilizing range widget to represent remaining time. The other half would be similar to what I have in my fork which shows the actual remaining time. However, my fork also has issues where the time doesn't update every minute (sometimes up to 15-30 min delay) so still some work to be done there. I'm not sure if I'll have time to get around to this anytime soon.

image

tazzix commented 1 year ago

OK got it, this widget counts 'UP' to the next prayer and showing the time when current prayer time started. And you are looking for something which counts 'DOWN' to the start time of the next prayer and show hours and minutes remaining rather than an absolute time.

Yes unfortunately my watch was a victim to the firmware update. I had switched to the apple ecosystem so wasn't using or charging it normally anyway. And ironically in this country local Samsung does not honor international known issues or recalls, etc. I have acquired an old used watch to work on this soon and add another complication inspired from your code, hence made a PR but not merged.