diff --git a/components/StyledText.tsx b/components/StyledText.tsx index 70643da..334221f 100644 --- a/components/StyledText.tsx +++ b/components/StyledText.tsx @@ -5,7 +5,9 @@ import { StyleSheet, TextStyle } from "react-native"; import Colors from "constants/Colors"; export function DefaultText(props: TextProps) { - return ; + return ( + + ); } interface textProps { @@ -16,6 +18,13 @@ interface textProps { export function ArkadText(props: textProps) { return {props.text}; } +export function SelectableArkadText(props: textProps) { + return ( + + {props.text} + + ); +} export function NoButton(props: textProps) { return {props.text}; } diff --git a/components/profileScreen/ContactsPG.tsx b/components/profileScreen/ContactsPG.tsx index c0fb952..f5271aa 100644 --- a/components/profileScreen/ContactsPG.tsx +++ b/components/profileScreen/ContactsPG.tsx @@ -2,7 +2,7 @@ import React, { useEffect } from "react"; import { View, Text } from "../Themed"; import Colors from "constants/Colors"; import { ScrollView, StyleSheet } from "react-native"; -import { ArkadText } from "components/StyledText"; +import { ArkadText, SelectableArkadText } from "components/StyledText"; import { API } from "api/API"; import { Contact } from "api/Contacts"; @@ -29,7 +29,7 @@ export default function Contacts() { style={styles.text} /> - + ))}