diff --git a/app/src/main/java/com/pranshulgg/weather_master_app/feature/shared/WeatherViewModel.kt b/app/src/main/java/com/pranshulgg/weather_master_app/feature/shared/WeatherViewModel.kt index d97f97147..7c59c3f9d 100644 --- a/app/src/main/java/com/pranshulgg/weather_master_app/feature/shared/WeatherViewModel.kt +++ b/app/src/main/java/com/pranshulgg/weather_master_app/feature/shared/WeatherViewModel.kt @@ -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() diff --git a/app/src/main/java/com/pranshulgg/weather_master_app/widgets/weather/ui/variants/WeatherWidgetLarge.kt b/app/src/main/java/com/pranshulgg/weather_master_app/widgets/weather/ui/variants/WeatherWidgetLarge.kt index c03968be5..61366c416 100644 --- a/app/src/main/java/com/pranshulgg/weather_master_app/widgets/weather/ui/variants/WeatherWidgetLarge.kt +++ b/app/src/main/java/com/pranshulgg/weather_master_app/widgets/weather/ui/variants/WeatherWidgetLarge.kt @@ -130,8 +130,8 @@ fun WeatherWidgetLarge(state: WidgetWeather?, count: Int, config: WidgetConfig) it.time, it.temp, it.conditionIcon, - hourlyIconSize, - hourlyTextSize + hourlyTextSize, + hourlyIconSize ) } }