styling updates

This commit is contained in:
Joren de Graaf
2026-08-13 23:22:59 +02:00
parent cc158f15b8
commit c32edc1f65
5 changed files with 200 additions and 58 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ final class TaskController extends AbstractController
'battery_budget' => $taskRecommendationService->budgetFor($batteryLevel),
'selected_date' => $selectedDate,
'form' => $this->createForm(TaskType::class, $newTask, ['include_active' => false]),
'weather_forecast' => $selectedDate->format('Y-m-d') === (new \DateTimeImmutable('today'))->format('Y-m-d') ? $weatherService->cachedForecastFor($settings, $selectedDate) : null,
'weather_forecast' => $selectedDate->format('Y-m-d') === $selectedDate->format('Y-m-d') ? $weatherService->cachedForecastFor($settings, $selectedDate) : null,
'has_saved_location' => $settings?->hasLocation() ?? false,
]);
}