Wrap all <Text> in a helper that ensures black color is applied by default

This commit is contained in:
Paul Frazee 2022-12-20 12:49:44 -06:00
parent 74d76fbc6a
commit abcfc11fe0
54 changed files with 110 additions and 82 deletions

View file

@ -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}>