Skip to content

Commit 6ed1ca1

Browse files
committed
Remove share component
1 parent 12ef82f commit 6ed1ca1

File tree

2 files changed

+2
-95
lines changed

2 files changed

+2
-95
lines changed

src/components/CaptureAndShare/index.js

Lines changed: 0 additions & 86 deletions
This file was deleted.

src/screens/PredictScreen/index.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import Clarifai from "clarifai";
77

88
import BackgroundImage from "../../components/BackgroundImage";
99
import AnswerNotification from "../../components/AnswerNotification";
10-
import CaptureAndShare from "../../components/CaptureAndShare";
1110
import XPButton from "../../components/XPButton";
1211

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

3130
componentDidMount() {
3231
const clarifai = new Clarifai.App({
33-
apiKey: "" //dummy
32+
apiKey: "b0959ce79c6e4b6eb7af2c91fb561046" //dummy
3433
});
3534

3635
process.nextTick = setImmediate; // RN polyfill
@@ -84,15 +83,9 @@ class PredictScreen extends Component {
8483
) : (
8584
<View style={styles.container}>
8685
<AnswerNotification answer={this.state.result} />
87-
<CaptureAndShare
88-
title="Share"
89-
color="#3498db"
90-
image={sourceImage}
91-
onCancel={this._cancel}
92-
/>
9386
<XPButton
9487
title="Revert"
95-
color="black"
88+
color="#3498db"
9689
textOnly
9790
onPress={this._cancel}
9891
/>

0 commit comments

Comments
 (0)