Skip to content

Commit

Permalink
Match status bar style
Browse files Browse the repository at this point in the history
  • Loading branch information
nikola-milicevic committed Apr 27, 2023
1 parent 8f60e53 commit a80a68b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/Core/FeaturePrelude/Banner/BannerViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ public final class BannerViewController: UIViewController {
private let banner: BannerView
private let completed: () -> Void

override public var preferredStatusBarStyle: UIStatusBarStyle {
view.window?.windowScene?.statusBarManager?.statusBarStyle ?? .lightContent
}

public init(
text: String,
completed: @escaping () -> Void
Expand Down

0 comments on commit a80a68b

Please sign in to comment.