Skip to content

Commit e98030f

Browse files
committed
Fix tv os compability.
1 parent 898f032 commit e98030f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/SwiftBoost/UIKit/Extensions/UIToolbarExtension.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
#if canImport(UIKit) && (os(iOS) || os(tvOS))
1+
#if canImport(UIKit) && (os(iOS))
22
import UIKit
33

44
extension UIToolbar {
55

66
/**
77
SwiftBoost: Set appearance for tab bar.
88
*/
9-
@available(iOS 13.0, tvOS 13.0, *)
9+
@available(iOS 13.0, *)
1010
public func setAppearance(_ value: ToolbarAppearance) {
1111
self.standardAppearance = value.standardAppearance
12-
if #available(iOS 15.0, tvOS 15.0, *) {
12+
if #available(iOS 15.0, *) {
1313
self.scrollEdgeAppearance = value.scrollEdgeAppearance
1414
}
1515
}
1616

1717
/**
1818
SwiftBoost: Appearance cases.
1919
*/
20-
@available(iOS 13.0, tvOS 13.0, *)
20+
@available(iOS 13.0, *)
2121
public enum ToolbarAppearance {
2222

2323
case transparentAlways

0 commit comments

Comments
 (0)