Skip to content

Commit

Permalink
[ReactNative] fix navIOS example
Browse files Browse the repository at this point in the history
Summary: constants were refactored to be enums.

Test Plan:
@public

navIOS example doesn't fatal.
  • Loading branch information
sahrens committed Jun 9, 2015
1 parent 2a08897 commit f590a8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Examples/UIExplorer/NavigatorIOSColorsExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var NavigatorIOSColors = React.createClass({

render: function() {
// Set StatusBar with light contents to get better contrast
StatusBarIOS.setStyle(StatusBarIOS.Style.lightContent);
StatusBarIOS.setStyle('light-content');

return (
<NavigatorIOS
Expand All @@ -55,7 +55,7 @@ var NavigatorIOSColors = React.createClass({
title: '<NavigatorIOS>',
rightButtonTitle: 'Done',
onRightButtonPress: () => {
StatusBarIOS.setStyle(StatusBarIOS.Style['default']);
StatusBarIOS.setStyle('default');
this.props.onExampleExit();
},
passProps: {
Expand Down

0 comments on commit f590a8b

Please sign in to comment.