File tree Expand file tree Collapse file tree
Libraries/Components/Touchable Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,8 +62,7 @@ var TouchableOpacity = createReactClass({
6262 * Determines what the opacity of the wrapped view should be when touch is
6363 * active. Defaults to 0.2.
6464 */
65- activeOpacity : PropTypes . number ,
66- focusedOpacity : PropTypes . number ,
65+ activeOpacity : PropTypes . number
6766 /**
6867 * Apple TV parallax effects
6968 */
@@ -72,8 +71,7 @@ var TouchableOpacity = createReactClass({
7271
7372 getDefaultProps : function ( ) {
7473 return {
75- activeOpacity : 0.2 ,
76- focusedOpacity : 0.7 ,
74+ activeOpacity : 0.2
7775 } ;
7876 } ,
7977
@@ -165,10 +163,6 @@ var TouchableOpacity = createReactClass({
165163 ) ;
166164 } ,
167165
168- _opacityFocused : function ( ) {
169- this . setOpacityTo ( this . props . focusedOpacity ) ;
170- } ,
171-
172166 _getChildStyleOpacityWithDefault : function ( ) {
173167 var childStyle = flattenStyle ( this . props . style ) || { } ;
174168 return childStyle . opacity == undefined ? 1 : childStyle . opacity ;
You can’t perform that action at this time.
0 commit comments