We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In iOS 9, statusBar.frame.size.height is zero. This caused statusbar overlap toolbar in ToolbarController.
statusBar.frame.size.height
I think the code to set height in StatusBarController should be like this:
if #available(iOS 11, *) { let v = topLayoutGuide.length statusBar.frame.size.height = 0 < v ? v : 20 } else { statusBar.frame.size.height = 20 }
The text was updated successfully, but these errors were encountered:
@DanielDahan I guess @ndlinh is right. I was suspicious about the commit ea0e002 when I see it.
Sorry, something went wrong.
Looks correct, I will double check today. Thank you!
I am downloading the iOS 9 simulator to confirm this issue and will push a fix right away :)
@DanielDahan In code you only check #available(iOS 11, *). I guess, the issue is non-ios11-specific :)
#available(iOS 11, *)
Yes, it was in iOS 10 as well. I missed this when I was updating everything for iOS 11. Thanks guys. The fix is in Material 2.12.15 :)
daniel-jonathan
No branches or pull requests
In iOS 9,
statusBar.frame.size.height
is zero. This caused statusbar overlap toolbar in ToolbarController.I think the code to set height in StatusBarController should be like this:
The text was updated successfully, but these errors were encountered: