styling updates
This commit is contained in:
@@ -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,
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user