File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 66 View ,
77 Animated ,
88 TouchableOpacity ,
9- Platform
109} from "react-native" ;
1110import ActionButtonItem from "./ActionButtonItem" ;
1211import {
@@ -178,7 +177,7 @@ export default class ActionButton extends Component {
178177 } ;
179178
180179 const Touchable = getTouchableComponent ( this . props . useNativeFeedback ) ;
181- const parentStyle = Platform . OS === "android" &&
180+ const parentStyle = isAndroid &&
182181 this . props . fixNativeFeedbackRadius
183182 ? {
184183 right : this . props . offsetX ,
Original file line number Diff line number Diff line change 88 TouchableNativeFeedback ,
99 TouchableWithoutFeedback ,
1010 Dimensions ,
11- Platform
1211} from "react-native" ;
1312import {
1413 shadowStyle ,
@@ -90,7 +89,7 @@ export default class ActionButtonItem extends Component {
9089
9190 const Touchable = getTouchableComponent ( this . props . useNativeFeedback ) ;
9291
93- const parentStyle = Platform . OS === "android" &&
92+ const parentStyle = isAndroid &&
9493 this . props . fixNativeFeedbackRadius
9594 ? {
9695 height : size ,
You can’t perform that action at this time.
0 commit comments