Skip to content

Commit

Permalink
🔧 Fix ACKHostingController availability
Browse files Browse the repository at this point in the history
  • Loading branch information
olejnjak committed May 27, 2024
1 parent 8e3b640 commit 6db9c50
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ open class ACKHostingController<RootView: View>: UIHostingController<RootView> {
/// Navigation bar is shown/hidden in viewWillAppear according to this flag
public var hasNavigationBar = true

#if !os(tvOS)
public override var preferredStatusBarStyle: UIStatusBarStyle {
get { _preferredStatusBarStyle }
set {
Expand All @@ -16,6 +17,7 @@ open class ACKHostingController<RootView: View>: UIHostingController<RootView> {
}

private var _preferredStatusBarStyle: UIStatusBarStyle = .default
#endif

// MARK: - Initializers

Expand Down

0 comments on commit 6db9c50

Please sign in to comment.