fix: crash on unavailable source api

the screen not updating because of errors
This commit is contained in:
2025-08-14 17:02:48 +02:00
parent 8284ae9695
commit f0344bd3ba
11 changed files with 336 additions and 96 deletions

View File

@@ -2,6 +2,6 @@ namespace HomeApi.Models;
public class Image
{
public WeatherInformation Weather { get; set; }
public List<TimeTable> TimeTable { get; set; }
public WeatherInformation? Weather { get; set; }
public List<TimeTable>? TimeTable { get; set; }
}