Skip to content

Commit

Permalink
add tvOS, watchOS compatiblity (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wouter01 authored Oct 17, 2023
1 parent 001bb98 commit 39b197d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PapyrusCore/Sources/ResponseDecoder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ extension JSONDecoder: ResponseDecoder {
new.nonConformingFloatDecodingStrategy = nonConformingFloatDecodingStrategy
#if os(Linux)
#else
if #available(iOS 15.0, macOS 12.0, *) {
if #available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *) {
new.assumesTopLevelDictionary = assumesTopLevelDictionary
new.allowsJSON5 = allowsJSON5
}
Expand Down

0 comments on commit 39b197d

Please sign in to comment.