Closed zpuskas closed 1 year ago
Strange. Are you in the correct time zone?
Yes, my timezone settings are correct. Allow me to rephrase: the widget always uses nighttime icons (as per screenshot) day or night.
What I do not understand is why it fits for e.g. Miami
I've tried Miami too, same result. Moon icons throughout the entire day.
I confirm, in my location (UTTT or Tashkent/Uzbekistan) it is the same .
This bug periodically appeared on the old version from google play
So it seems to be an old problem. A good starting point for troubleshooting would be this section in AixDetailedWidget:
int[] weatherIcons = WEATHER_ICONS_NIGHT;
for (SunMoonData smd : mSunMoonData) {
if (smd.date == iconDate) {
if (smd.sunRise == AixSunMoonData.NEVER_RISE) {
weatherIcons = WEATHER_ICONS_POLAR;
} else if (smd.sunSet == AixSunMoonData.NEVER_SET) {
weatherIcons = WEATHER_ICONS_DAY;
}
}
if (smd.sunRise < iconTimePos && smd.sunSet > iconTimePos) {
weatherIcons = WEATHER_ICONS_DAY;
}
}
This should be fixed by #28
The widget shows moon icon instead of a sun during daytime. OS: Android 11 Version: 1.2 (from f-droid) Data source: Auto
I've tried the following: