Skip to content

Commit

Permalink
add objc support for getting navigationbar background color (microsof…
Browse files Browse the repository at this point in the history
  • Loading branch information
harrieshin authored Oct 24, 2020
1 parent 362a066 commit 378f63b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ios/FluentUI/Core/FluentUIFramework.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ public extension Colors {
public static var background: UIColor = NavigationBar.background
public static var tint: UIColor = NavigationBar.tint
}

// Objective-C support
@objc static var navigationBarBackground: UIColor { return NavigationBar.background }
}

// MARK: - FluentUIFramework
Expand Down

0 comments on commit 378f63b

Please sign in to comment.