From f590a8b15be971efd54905952b38f23a1c86e0a0 Mon Sep 17 00:00:00 2001 From: Spencer Ahrens Date: Tue, 9 Jun 2015 12:01:08 -0700 Subject: [PATCH] [ReactNative] fix navIOS example Summary: constants were refactored to be enums. Test Plan: @public navIOS example doesn't fatal. --- Examples/UIExplorer/NavigatorIOSColorsExample.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples/UIExplorer/NavigatorIOSColorsExample.js b/Examples/UIExplorer/NavigatorIOSColorsExample.js index a045807c7..0f695d956 100644 --- a/Examples/UIExplorer/NavigatorIOSColorsExample.js +++ b/Examples/UIExplorer/NavigatorIOSColorsExample.js @@ -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 ( ', rightButtonTitle: 'Done', onRightButtonPress: () => { - StatusBarIOS.setStyle(StatusBarIOS.Style['default']); + StatusBarIOS.setStyle('default'); this.props.onExampleExit(); }, passProps: {