Skip to content

Commit

Permalink
Remove share component
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaminus committed Mar 2, 2018
1 parent 12ef82f commit 6ed1ca1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 95 deletions.
86 changes: 0 additions & 86 deletions src/components/CaptureAndShare/index.js

This file was deleted.

11 changes: 2 additions & 9 deletions src/screens/PredictScreen/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Clarifai from "clarifai";

import BackgroundImage from "../../components/BackgroundImage";
import AnswerNotification from "../../components/AnswerNotification";
import CaptureAndShare from "../../components/CaptureAndShare";
import XPButton from "../../components/XPButton";

import styles from "./styles";
Expand All @@ -30,7 +29,7 @@ class PredictScreen extends Component {

componentDidMount() {
const clarifai = new Clarifai.App({
apiKey: "" //dummy
apiKey: "b0959ce79c6e4b6eb7af2c91fb561046" //dummy
});

process.nextTick = setImmediate; // RN polyfill
Expand Down Expand Up @@ -84,15 +83,9 @@ class PredictScreen extends Component {
) : (
<View style={styles.container}>
<AnswerNotification answer={this.state.result} />
<CaptureAndShare
title="Share"
color="#3498db"
image={sourceImage}
onCancel={this._cancel}
/>
<XPButton
title="Revert"
color="black"
color="#3498db"
textOnly
onPress={this._cancel}
/>
Expand Down

0 comments on commit 6ed1ca1

Please sign in to comment.