remove iOS 13 check
This commit is contained in:
parent
e875002cb1
commit
b4d7392675
@ -124,7 +124,6 @@ open class SubNavManagerController: ViewController, MVMCoreViewManagerProtocol,
|
|||||||
/// Hides/Shows the navigation bar for the page.
|
/// Hides/Shows the navigation bar for the page.
|
||||||
open func hideNavigationBarLine(_ isHidden: Bool) {
|
open func hideNavigationBarLine(_ isHidden: Bool) {
|
||||||
guard self == navigationController?.topViewController else { return }
|
guard self == navigationController?.topViewController else { return }
|
||||||
if #available(iOS 13.0, *) {
|
|
||||||
var color = UIColor.clear
|
var color = UIColor.clear
|
||||||
if !isHidden,
|
if !isHidden,
|
||||||
let backgroundColor = (getCurrentViewController() as? PageProtocol)?.pageModel?.navigationBar?.line?.backgroundColor?.uiColor {
|
let backgroundColor = (getCurrentViewController() as? PageProtocol)?.pageModel?.navigationBar?.line?.backgroundColor?.uiColor {
|
||||||
@ -133,7 +132,6 @@ open class SubNavManagerController: ViewController, MVMCoreViewManagerProtocol,
|
|||||||
navigationController?.navigationBar.standardAppearance.shadowColor = color
|
navigationController?.navigationBar.standardAppearance.shadowColor = color
|
||||||
navigationController?.navigationBar.scrollEdgeAppearance?.shadowColor = color
|
navigationController?.navigationBar.scrollEdgeAppearance?.shadowColor = color
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
open override func updateViews() {
|
open override func updateViews() {
|
||||||
super.updateViews()
|
super.updateViews()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user