Skip to content
New issue

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

Fix whistle #196

Merged
merged 4 commits into from
Nov 22, 2017
Merged

Fix whistle #196

merged 4 commits into from
Nov 22, 2017

Conversation

onmyway133
Copy link
Contributor

@onmyway133 onmyway133 commented Nov 22, 2017

  • Show under status bar if iPhone X
  • Fix status bar style update warning

iphone x - ios 11 1 2017-11-22 10-16-06

Copy link
Contributor

@vadymmarkov vadymmarkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -11,4 +11,8 @@ extension UIView {

return y
}

var isiPhoneX: Bool {
return safeYCoordinate > 20
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is safeYCoordinate? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think @zenangst named that 😬 But it's just the offset of the safe area insets

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@onmyway133 onmyway133 merged commit 010e249 into master Nov 22, 2017
@onmyway133 onmyway133 deleted the fix/whistle branch November 22, 2017 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants