Skip to content

Commit

Permalink
Fix post-rebase issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Ciombor committed Dec 8, 2017
1 parent e2317c6 commit 0c361d8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
8 changes: 0 additions & 8 deletions Libraries/Components/Button.js
Expand Up @@ -90,12 +90,6 @@ class Button extends React.Component<{
* Used to locate this view in end-to-end tests.
*/
testID: PropTypes.string,
/**
* *(Apple TV only)* TV preferred focus (see documentation for the View component).
*
* @platform ios
*/
hasTVPreferredFocus: PropTypes.bool,
};

render() {
Expand All @@ -106,7 +100,6 @@ class Button extends React.Component<{
title,
hasTVPreferredFocus,
disabled,
hasTVPreferredFocus,
testID,
} = this.props;
const buttonStyles = [styles.button];
Expand Down Expand Up @@ -138,7 +131,6 @@ class Button extends React.Component<{
hasTVPreferredFocus={hasTVPreferredFocus}
testID={testID}
disabled={disabled}
hasTVPreferredFocus={hasTVPreferredFocus}
onPress={onPress}>
<View style={buttonStyles}>
<Text style={textStyles} disabled={disabled}>{formattedTitle}</Text>
Expand Down
Expand Up @@ -79,11 +79,6 @@ protected void onCreate(Bundle savedInstanceState) {
mDoubleTapReloadRecognizer = new DoubleTapReloadRecognizer();
}

private boolean canHandleIntent(Intent intent) {
PackageManager packageManager = getContext().getPackageManager();
return intent.resolveActivity(packageManager) != null;
}

protected void loadApp(String appKey) {
if (mReactRootView != null) {
throw new IllegalStateException("Cannot loadApp while app is already running.");
Expand Down

0 comments on commit 0c361d8

Please sign in to comment.