Skip to content

Commit

Permalink
Restrict availability of AttributedString extension
Browse files Browse the repository at this point in the history
This fixes a build failure for iOS and tvOS.
  • Loading branch information
MasterJ93 committed Jan 13, 2025
1 parent 0d727f3 commit f98b330
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/ATProtoKit/Utilities/ATFacetParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ internal protocol FeatureCodable: Codable {
}

// MARK: AttributedString -
@available(iOS 15, tvOS 15, macOS 12, watchOS 8, *)
extension AttributedString {
/// Converts a ``AppBskyLexicon/RichText/Facet/ByteSlice`` instance into
/// a `Range<AttributedString.Index>`.
Expand Down

0 comments on commit f98b330

Please sign in to comment.