mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Revert D4450924: Expose StatusBar height on iOS
Differential Revision: D4450924 fbshipit-source-id: a883a7417e85f0a923d5fcc4d5efff75b99c2272
This commit is contained in:
committed by
Facebook Github Bot
parent
a407ff94ee
commit
0fc62eebc3
@@ -134,7 +134,7 @@ function createStackEntry(props: any): any {
|
||||
*
|
||||
* ### Constants
|
||||
*
|
||||
* `currentHeight` The height of the status bar.
|
||||
* `currentHeight` (Android only) The height of the status bar.
|
||||
*/
|
||||
class StatusBar extends React.Component {
|
||||
props: {
|
||||
@@ -169,6 +169,8 @@ class StatusBar extends React.Component {
|
||||
// discussion in #6195.
|
||||
/**
|
||||
* The current height of the status bar on the device.
|
||||
*
|
||||
* @platform android
|
||||
*/
|
||||
static currentHeight = StatusBarManager.HEIGHT;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user