mirror of
https://github.com/PranshulGG/WeatherMaster.git
synced 2026-10-22 02:52:37 -05:00
fix parameter order in WeatherWidgetLarge
This commit is contained in:
1 parent
a2481dd06b
commit
95f1ba152e
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -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()
|
||||
|
||||
+2
-2
@@ -130,8 +130,8 @@ fun WeatherWidgetLarge(state: WidgetWeather?, count: Int, config: WidgetConfig)
|
||||
it.time,
|
||||
it.temp,
|
||||
it.conditionIcon,
|
||||
hourlyIconSize,
|
||||
hourlyTextSize
|
||||
hourlyTextSize,
|
||||
hourlyIconSize
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user