Skip to content

Commit

Permalink
Fixed tvOS compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvorobei committed Nov 6, 2023
1 parent 94643f5 commit 326ac1a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ or adding it to the `dependencies` of your `Package.swift`:

```swift
dependencies: [
.package(url: "https://github.com/sparrowcode/SwiftBoost", .upToNextMajor(from: "4.0.7"))
.package(url: "https://github.com/sparrowcode/SwiftBoost", .upToNextMajor(from: "4.0.8"))
]
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public extension Locale {
}

var languageID: String? {
if #available(iOS 16.0, watchOS 9.0, macOS 13.0, *) {
if #available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *) {
return self.language.languageCode?.identifier
} else {
return self.languageCode
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if canImport(UIKit) && (os(iOS) || os(tvOS))
#if canImport(UIKit) && os(iOS)
import UIKit

extension UIToolbar {
Expand Down
2 changes: 1 addition & 1 deletion SwiftBoost.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'SwiftBoost'
s.version = '4.0.7'
s.version = '4.0.8'
s.summary = 'Collection of Swift-extensions to boost development process.'
s.homepage = 'https://github.com/sparrowcode/SwiftBoost'
s.source = { :git => 'https://github.com/sparrowcode/SwiftBoost.git', :tag => s.version }
Expand Down

0 comments on commit 326ac1a

Please sign in to comment.