Fix: Fixed the weather widget showing sunset and sunrise
Signed-off-by: HeCodes2Much <wayne6324@gmail.com>
This commit is contained in:
@@ -154,6 +154,10 @@ class WidgetFragment : Fragment(),
|
||||
weatherWidgetDrawable.setColor(widgetBackgroundColor)
|
||||
}
|
||||
|
||||
if (preferenceHelper.showWeatherWidgetSunSetRise) {
|
||||
binding.weatherSunsetSunrise.visibility = View.VISIBLE
|
||||
}
|
||||
|
||||
weatherCity.setTextColor(widgetTextColor)
|
||||
weatherTemperature.setTextColor(widgetTextColor)
|
||||
weatherDescription.setTextColor(widgetTextColor)
|
||||
@@ -309,10 +313,6 @@ class WidgetFragment : Fragment(),
|
||||
weatherBatteryDrawable.setColor(preferenceHelper.widgetBackgroundColor)
|
||||
}
|
||||
|
||||
if (preferenceHelper.showWeatherWidgetSunSetRise) {
|
||||
binding.weatherSunsetSunrise.visibility = View.VISIBLE
|
||||
}
|
||||
|
||||
binding.batteryLevel.setTextColor(preferenceHelper.widgetTextColor)
|
||||
binding.batteryCount.setTextColor(preferenceHelper.widgetTextColor)
|
||||
binding.chargingStatus.setTextColor(preferenceHelper.widgetTextColor)
|
||||
|
||||
Reference in New Issue
Block a user