Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -9,6 +9,7 @@ import { | @@ -9,6 +9,7 @@ import { | ||
| 9 | Text, | 9 | Text, |
| 10 | TouchableOpacity, | 10 | TouchableOpacity, |
| 11 | Clipboard, | 11 | Clipboard, |
| 12 | + Alert, | ||
| 12 | } from "react-native"; | 13 | } from "react-native"; |
| 13 | import { StackNavigator, TabNavigator } from "react-navigation"; | 14 | import { StackNavigator, TabNavigator } from "react-navigation"; |
| 14 | 15 | ||
| @@ -76,7 +77,7 @@ export default class Discover extends Component { | @@ -76,7 +77,7 @@ export default class Discover extends Component { | ||
| 76 | </View> | 77 | </View> |
| 77 | </View> | 78 | </View> |
| 78 | <View style={styles.wordConatier}> | 79 | <View style={styles.wordConatier}> |
| 79 | - <Text style={styles.word}>{word}}</Text> | 80 | + <Text style={styles.word}>{word}</Text> |
| 80 | </View> | 81 | </View> |
| 81 | <TouchableOpacity style={styles.button} onPress={() => {this.copyWords(word)}}> | 82 | <TouchableOpacity style={styles.button} onPress={() => {this.copyWords(word)}}> |
| 82 | <Image style={styles.btnImg} source={require("../../assets/discover/ic_copy.png")} /> | 83 | <Image style={styles.btnImg} source={require("../../assets/discover/ic_copy.png")} /> |
| @@ -143,7 +144,6 @@ const styles = StyleSheet.create({ | @@ -143,7 +144,6 @@ const styles = StyleSheet.create({ | ||
| 143 | position: "absolute", | 144 | position: "absolute", |
| 144 | bottom: 150, | 145 | bottom: 150, |
| 145 | }, | 146 | }, |
| 146 | - | ||
| 147 | btnImg: { | 147 | btnImg: { |
| 148 | width: 13, | 148 | width: 13, |
| 149 | height: 15, | 149 | height: 15, |
-
Please register or login to post a comment