Skip to content

Commit

Permalink
Fixed compilation for Swift 5.10
Browse files Browse the repository at this point in the history
  • Loading branch information
b5i committed Jul 30, 2024
1 parent f0fa63d commit f75a838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/YouTubeKit/YouTubeModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1711,7 +1711,7 @@ public class YouTubeModel {
}
}

#if swift(>=5.10)
#if swift(>=6.0)
extension String: @retroactive LocalizedError {
public var errorDescription: String? { self }
}
Expand Down

0 comments on commit f75a838

Please sign in to comment.