File tree Expand file tree Collapse file tree 2 files changed +2
-95
lines changed
components/CaptureAndShare Expand file tree Collapse file tree 2 files changed +2
-95
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import Clarifai from "clarifai";
77
88import BackgroundImage from "../../components/BackgroundImage" ;
99import AnswerNotification from "../../components/AnswerNotification" ;
10- import CaptureAndShare from "../../components/CaptureAndShare" ;
1110import XPButton from "../../components/XPButton" ;
1211
1312import 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 />
You can’t perform that action at this time.
0 commit comments