Skip to content

Commit

Permalink
Fix support with older Swift versions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-albers committed May 4, 2023
1 parent 817bf89 commit e4ec9d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public class SearchChProvider: AbstractNetworkProvider, QueryJourneyDetailManual
let (plannedPlatform, predictedPlatform) = parsePlatforms(platformString: jsonDep["track"].string)

let journeyContext: QueryJourneyDetailContext?
if let destination {
if let destination = destination {
journeyContext = QueryJourneyDetailManuallyContext(from: location, to: destination, time: predictedTime ?? plannedTime, plannedTime: plannedTime, product: product, line: line)
} else {
journeyContext = nil
Expand Down

0 comments on commit e4ec9d4

Please sign in to comment.