diff --git a/app/src/main/java/com/davidtakac/bura/summary/daily/GetDailySummary.kt b/app/src/main/java/com/davidtakac/bura/summary/daily/GetDailySummary.kt index 42bfa7d..3dab8be 100644 --- a/app/src/main/java/com/davidtakac/bura/summary/daily/GetDailySummary.kt +++ b/app/src/main/java/com/davidtakac/bura/summary/daily/GetDailySummary.kt @@ -53,7 +53,7 @@ class GetDailySummary( tempNow = futureTempDays[i][now]?.temperature, min = futureTempDays[i].minimum, max = futureTempDays[i].maximum, - pop = popDays[i].once.takeIf { it.value > 0 }, + pop = popDays[i].maximum.takeIf { it.value > 0 }, desc = descDays[i].day ?: descDays[i].night!! ) )