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

Fixed handling of BFIncludeStatusBarInSizeAlways #129

Merged

Conversation

widescape
Copy link

When includeStatusBarInSize was set to BFIncludeStatusBarInSizeAlways, it didn't actually include the status bar in its size.

XCTAssert(sizeThatFitsIncludingStatusBar.height > sizeThatFitsNotIncludingStatusBar.height);
}


Copy link
Member

Choose a reason for hiding this comment

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

Nit: Remove unneeded whitespace.

Copy link
Author

Choose a reason for hiding this comment

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

The usage of blank lines is similar in the other tests of that file. Wouldn't want to break the coding style here.

Copy link
Member

Choose a reason for hiding this comment

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

Somewhat. There are 2 blank lines here, compared to a single line between every other test here.

Copy link
Author

Choose a reason for hiding this comment

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

Thanks. Got it now – after believing first you meant the blank lines within the tests, not the 2 after it.

Copy link
Author

Choose a reason for hiding this comment

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

Do you consider it best to restore the blank lines within the tests?

Copy link
Member

Choose a reason for hiding this comment

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

It's ok if you remove them. Looks good enough 😁

@nlutsenko
Copy link
Member

LGTM, passing to @mingflifb for review.
Please squash everything into a single commit.

@widescape widescape force-pushed the fix-includeStatusBarInSize branch 3 times, most recently from f32670b to 45bc71f Compare August 26, 2015 22:59
nlutsenko added a commit that referenced this pull request Aug 26, 2015
Fixed handling of BFIncludeStatusBarInSizeAlways
@nlutsenko nlutsenko merged commit cf7a1c4 into BoltsFramework:master Aug 26, 2015
@widescape widescape deleted the fix-includeStatusBarInSize branch August 27, 2015 06:21
@facebook-github-bot
Copy link
Contributor

@widescape updated the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants