[FIX] Unify RoomItem UpdatedAt and Message time styles (#4205)

This commit is contained in:
Alex Junior 2022-05-20 14:56:07 -03:00 committed by GitHub
parent 6384d60efc
commit 4fc8e5e9a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 41 additions and 41 deletions

View File

@ -26,6 +26,7 @@ const styles = StyleSheet.create({
alignItems: 'center' alignItems: 'center'
}, },
username: { username: {
flexShrink: 1,
fontSize: 16, fontSize: 16,
lineHeight: 22, lineHeight: 22,
...sharedStyles.textMedium ...sharedStyles.textMedium
@ -35,7 +36,6 @@ const styles = StyleSheet.create({
...sharedStyles.textMedium ...sharedStyles.textMedium
}, },
titleContainer: { titleContainer: {
flexShrink: 1,
flexDirection: 'row', flexDirection: 'row',
alignItems: 'center' alignItems: 'center'
}, },
@ -106,7 +106,7 @@ const User = React.memo(
<Text style={[styles.username, { color: themes[theme].titleText }]} numberOfLines={1}> <Text style={[styles.username, { color: themes[theme].titleText }]} numberOfLines={1}>
{textContent} {textContent}
</Text> </Text>
<Text style={[messageStyles.time, { color: themes[theme].auxiliaryTintColor, lineHeight: 22 }]}>{time}</Text> <Text style={[messageStyles.time, { color: themes[theme].auxiliaryText }]}>{time}</Text>
</TouchableOpacity> </TouchableOpacity>
<View style={styles.actionIcons}> <View style={styles.actionIcons}>
<Encrypted type={type} /> <Encrypted type={type} />

View File

@ -129,7 +129,7 @@ export default StyleSheet.create({
...sharedStyles.textRegular ...sharedStyles.textRegular
}, },
time: { time: {
fontSize: 12, fontSize: 13,
marginLeft: 8, marginLeft: 8,
...sharedStyles.textRegular ...sharedStyles.textRegular
}, },

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long