mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Lots of updates
This commit is contained in:
@ -13,7 +13,8 @@ const TimelineSeparator = () => {
|
||||
const styles = StyleSheet.create({
|
||||
base: {
|
||||
borderTopWidth: 1,
|
||||
marginLeft: constants.SPACING_M + constants.AVATAR_S + constants.SPACING_S
|
||||
marginLeft: constants.SPACING_M + constants.AVATAR_S + constants.SPACING_S,
|
||||
marginRight: constants.SPACING_M
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -2,6 +2,8 @@ import React from 'react'
|
||||
import { Image, StyleSheet, Text } from 'react-native'
|
||||
import { useTheme } from 'src/utils/styles/ThemeManager'
|
||||
|
||||
import constants from 'src/utils/styles/constants'
|
||||
|
||||
const regexEmoji = new RegExp(/(:[a-z0-9_]+:)/)
|
||||
|
||||
export interface Props {
|
||||
@ -23,7 +25,7 @@ const Emojis: React.FC<Props> = ({
|
||||
fontSize: size,
|
||||
lineHeight: size + 2,
|
||||
color: theme.primary,
|
||||
...(fontBold && { fontWeight: 'bold' })
|
||||
...(fontBold && { fontWeight: constants.FONT_WEIGHT_BOLD })
|
||||
},
|
||||
image: {
|
||||
width: size,
|
||||
|
Reference in New Issue
Block a user