Skip to content

Commit

Permalink
Possible fix for the in-call and in-navigation status bar
Browse files Browse the repository at this point in the history
  • Loading branch information
andreamazz committed May 9, 2017
1 parent 30226b7 commit bb3e9a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ScrollingNavbar+Sizes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ extension ScrollingNavigationController {
}

var statusBarHeight: CGFloat {
return UIApplication.shared.statusBarFrame.size.height
return CGFloat.minimum(20, UIApplication.shared.statusBarFrame.size.height)
}

var tabBarOffset: CGFloat {
Expand Down

0 comments on commit bb3e9a4

Please sign in to comment.