diff --git a/RNTester/js/ScrollViewExample.js b/RNTester/js/ScrollViewExample.js index 1da4a0244..0b049d53f 100644 --- a/RNTester/js/ScrollViewExample.js +++ b/RNTester/js/ScrollViewExample.js @@ -55,13 +55,11 @@ exports.examples = [ onPress={() => { _scrollView.scrollToEnd({animated: true}); }}> Scroll to bottom - { Platform.OS === 'ios' ? - { _scrollView.flashScrollIndicators(); }}> - Flash scroll indicators - - : null } + { _scrollView.flashScrollIndicators(); }}> + Flash scroll indicators + ); } @@ -95,13 +93,11 @@ exports.examples = [ onPress={() => { _scrollView.scrollToEnd({animated: true}); }}> Scroll to end - { Platform.OS === 'ios' ? - { _scrollView.flashScrollIndicators(); }}> - Flash scroll indicators - - : null } + { _scrollView.flashScrollIndicators(); }}> + Flash scroll indicators + ); }