File tree Expand file tree Collapse file tree
Projects/Features/HomeFeature/Sources/Models Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,14 +90,14 @@ extension HomePresentationModel.Schedule {
9090extension MyTripSummary {
9191 func toPresention( ) -> HomePresentationModel . Banner {
9292 let schedule : HomePresentationModel . Schedule
93- if let s = self . tripSchedule {
93+ if let tripSchedule = self . tripSchedule {
9494 schedule = . init(
95- id: s . id,
96- day: s . day,
97- placeName: s . placeName,
98- thumbnailUrl: s . thumbnailUrl,
99- transport: s . transport,
100- estimatedDuration: s . estimatedDuration
95+ id: tripSchedule . id,
96+ day: tripSchedule . day,
97+ placeName: tripSchedule . placeName,
98+ thumbnailUrl: tripSchedule . thumbnailUrl,
99+ transport: tripSchedule . transport,
100+ estimatedDuration: tripSchedule . estimatedDuration
101101 )
102102 } else {
103103 schedule = . empty
You can’t perform that action at this time.
0 commit comments