1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Fix weird error reportings

This commit is contained in:
Zhiyuan Zheng
2022-06-09 23:25:01 +02:00
parent e33e8550f6
commit db46ccc3d8
8 changed files with 21 additions and 17 deletions

View File

@ -22,7 +22,7 @@ const TimelineActioned = React.memo(
const { colors } = useTheme()
const navigation =
useNavigation<StackNavigationProp<TabLocalStackParamList>>()
const name = account?.display_name || account.username
const name = account?.display_name || account?.username
const iconColor = colors.primaryDefault
const content = (content: string) => (

View File

@ -27,7 +27,7 @@ const HeaderSharedAccount = React.memo(
numberOfLines={1}
>
<ParseEmojis
content={account?.display_name || account.username}
content={account?.display_name || account?.username}
emojis={account.emojis}
fontBold
/>