Wrap all <Text> in a helper that ensures black color is applied by default
This commit is contained in:
parent
74d76fbc6a
commit
abcfc11fe0
54 changed files with 110 additions and 82 deletions
|
@ -1,6 +1,7 @@
|
|||
import React from 'react'
|
||||
import {StyleSheet, Text, TouchableOpacity, View} from 'react-native'
|
||||
import {StyleSheet, TouchableOpacity, View} from 'react-native'
|
||||
import {Link} from '../util/Link'
|
||||
import {Text} from '../util/Text'
|
||||
import {UserAvatar} from '../util/UserAvatar'
|
||||
import {s, colors} from '../../lib/styles'
|
||||
|
||||
|
@ -35,7 +36,7 @@ export function ProfileCard({
|
|||
/>
|
||||
</View>
|
||||
<View style={styles.layoutContent}>
|
||||
<Text style={[s.f16, s.bold]} numberOfLines={1}>
|
||||
<Text style={[s.f16, s.bold, s.black]} numberOfLines={1}>
|
||||
{displayName || handle}
|
||||
</Text>
|
||||
<Text style={[s.f15, s.gray5]} numberOfLines={1}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue