Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ActionButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
View,
Animated,
TouchableOpacity,
Platform
} from "react-native";
import ActionButtonItem from "./ActionButtonItem";
import {
Expand Down Expand Up @@ -178,7 +177,7 @@ export default class ActionButton extends Component {
};

const Touchable = getTouchableComponent(this.props.useNativeFeedback);
const parentStyle = Platform.OS === "android" &&
const parentStyle = isAndroid &&
this.props.fixNativeFeedbackRadius
? {
right: this.props.offsetX,
Expand Down
3 changes: 1 addition & 2 deletions ActionButtonItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
TouchableNativeFeedback,
TouchableWithoutFeedback,
Dimensions,
Platform
} from "react-native";
import {
shadowStyle,
Expand Down Expand Up @@ -90,7 +89,7 @@ export default class ActionButtonItem extends Component {

const Touchable = getTouchableComponent(this.props.useNativeFeedback);

const parentStyle = Platform.OS === "android" &&
const parentStyle = isAndroid &&
this.props.fixNativeFeedbackRadius
? {
height: size,
Expand Down