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

[flow-strict] Flow strict StatusBar #22282

Closed
wants to merge 5 commits into from

Conversation

watanabeyu
Copy link
Contributor

Related to #22100

Libraries/Components/StatusBar/StatusBar.js
Enhance StatusBar with mergePropsStack and _defaultProps.

Test Plan:

  • npm run prettier
  • npm run flow
  • npm run flow-check-ios
  • npm run flow-check-android
  • npm run lint
  • npm run test
  • ./scripts/run-android-local-unit-tests.sh

Changelog:

[GENERAL][ENHANCEMENT][StatusBar.js] - apply flow strict-local

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Tests This PR adds or edits a test case. labels Nov 15, 2018
@pull-bot
Copy link

Warnings
⚠️

📋 Release Notes - This PR appears to be missing Release Notes.

Generated by 🚫 dangerJS

Copy link
Contributor

@RSNara RSNara left a comment

Choose a reason for hiding this comment

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

Looks good! There's a few minor changes, but I'll take care of them on my end.

Libraries/Components/StatusBar/StatusBar.js Show resolved Hide resolved
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@RSNara has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Collaborator

@watanabeyu merged commit 6fa997d into facebook:master.

@facebook facebook locked as resolved and limited conversation to collaborators Nov 21, 2018
@react-native-bot react-native-bot added the Merged This PR has been merged. label Nov 21, 2018
@elicwhite
Copy link
Member

@watanabeyu This PR was reverted on master because of these crashes:

simulator_screen_shot_-iphone_8-_2018-11-23_at_10 45 56
screenshot_1543000705

Are you able to reproduce these issues? Would you like to take another stab at this PR fixing these errors?

@facebook facebook unlocked this conversation Nov 28, 2018
@watanabeyu
Copy link
Contributor Author

@TheSavior I will try again!

@watanabeyu
Copy link
Contributor Author

@TheSavior I reproduced these error.
StatusBar.setHidden() is caused that.
StatusBar.setHidden() is required arguments 0.
So I changed arguments 0 required yes -> no.

t-nanava pushed a commit to microsoft/react-native-macos that referenced this pull request Jun 17, 2019
Summary:
Related to facebook#22100

`Libraries/Components/StatusBar/StatusBar.js`
Enhance StatusBar with mergePropsStack and _defaultProps.

- [x] npm run prettier
- [x] npm run flow
- [x] npm run flow-check-ios
- [x] npm run flow-check-android
- [x] npm run lint
- [x] npm run test
- [x] ./scripts/run-android-local-unit-tests.sh

[GENERAL][ENHANCEMENT][StatusBar.js] - apply flow strict-local
Pull Request resolved: facebook#22282

Reviewed By: TheSavior

Differential Revision: D13103971

Pulled By: RSNara

fbshipit-source-id: 27f69c6df3a8a7792fcd595c0ff362943ccab8ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Component: StatusBar Flow Merged This PR has been merged. Tests This PR adds or edits a test case.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants