Skip to content

Commit

Permalink
fix something I broke :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grodien committed Dec 18, 2024
1 parent aef8aa8 commit dbf1762
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,15 @@ class TrainJourney extends StatelessWidget {
trackEquipmentRenderData: renderData)
.build(context);
case Datatype.cabSignaling:
final data = rowData as CABSignaling;
return CABSignalingRow(
metadata: journey.metadata,
data: rowData as CABSignaling,
settings: settings,
trackEquipmentRenderData: renderData)
.build(context);
metadata: journey.metadata,
data: data,
settings: settings,
trackEquipmentRenderData: renderData.copyWith(
isCABStart: data.isStart,
isCABEnd: data.isEnd,
)).build(context);
}
});
}
Expand Down

0 comments on commit dbf1762

Please sign in to comment.