mirror of
https://github.com/denglihong2007/CRSim
synced 2026-08-09 19:15:59 +08:00
Merge pull request #145 from denglihong2007/dev
fix: 成都东站立柱样式有时崩溃 [skip cliff]
This commit is contained in:
@@ -29,6 +29,10 @@ namespace CRSim.ScreenSimulator.ViewModels.ChengduDong
|
||||
{
|
||||
Application.Current.Dispatcher.Invoke(() =>
|
||||
{
|
||||
if (TrainInfo.Count == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
var now = _timeService.GetDateTimeNow();
|
||||
var departureTime = TrainInfo[0].DepartureTime!.Value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user