Fix: fixed proguard building

Signed-off-by: HeCodes2Much <wayne6324@gmail.com>
This commit is contained in:
HeCodes2Much
2024-06-07 21:49:56 +01:00
parent b11554b733
commit 80ecd906e7
2 changed files with 15 additions and 19 deletions

View File

@@ -115,7 +115,7 @@ class WidgetFragment : Fragment(),
binding.weatherPressure.text =
getString(R.string.widget_weather_pressure, weatherResponse.main.pressure)
val weatherWidgetDrawable = binding.weatherButtonRefresh.background
val weatherWidgetDrawable = binding.weatherRoot.background
if (weatherWidgetDrawable is GradientDrawable) {
weatherWidgetDrawable.setColor(preferenceHelper.widgetBackgroundColor)
}