fix parameter order in WeatherWidgetLarge

This commit is contained in:
PranshulGG committed 2026-07-07 14:42:38 +05:30
1 parent a2481dd06b
commit 95f1ba152e
2 files changed
+3 -3

No files matched your search

@@ -64,7 +64,7 @@ class WeatherViewModel @Inject constructor(
val isLocationsEmpty = locationsRepo.isLocationsEmpty()
if (isLocationsEmpty) {
// Locations Empty? not possible, likely a first launch
// Locations Empty? can't happen, likely a first launch
_uiState.value = uiState.value.copy(isInitialized = true)
}
val default = locationsRepo.getDefaultLocation().filterNotNull().first()
@@ -130,8 +130,8 @@ fun WeatherWidgetLarge(state: WidgetWeather?, count: Int, config: WidgetConfig)
it.time,
it.temp,
it.conditionIcon,
hourlyIconSize,
hourlyTextSize
hourlyTextSize,
hourlyIconSize
)
}
}