MCPcopy
hub / github.com/Kureev/react-native-navbar / customizeStatusBar

Function customizeStatusBar

index.js:115–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113 }
114
115 customizeStatusBar() {
116 const { statusBar } = this.props;
117 if (Platform.OS === 'ios') {
118 if (statusBar.style) {
119 StatusBar.setBarStyle(statusBar.style);
120 }
121
122 const animation = statusBar.hidden ?
123 statusBar.hideAnimation : statusBar.showAnimation;
124
125 StatusBar.showHideTransition = animation;
126 StatusBar.hidden = statusBar.hidden;
127 }
128 }
129
130 render() {
131 const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected