Fix: dont try to detect link/label mismatches on post meta

This commit is contained in:
Paul Frazee
2024-03-10 13:16:48 -07:00
parent 6cc61bf8e2
commit a180788038
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -280,6 +280,7 @@ interface TextLinkOnWebOnlyProps extends TextProps {
accessibilityHint?: string
title?: string
navigationAction?: 'push' | 'replace' | 'navigate'
disableMismatchWarning?: boolean
onPointerEnter?: () => void
}
export const TextLinkOnWebOnly = memo(function DesktopWebTextLink({
@@ -291,6 +292,7 @@ export const TextLinkOnWebOnly = memo(function DesktopWebTextLink({
numberOfLines,
lineHeight,
navigationAction,
disableMismatchWarning,
...props
}: TextLinkOnWebOnlyProps) {
if (isWeb) {
@@ -305,6 +307,7 @@ export const TextLinkOnWebOnly = memo(function DesktopWebTextLink({
lineHeight={lineHeight}
title={props.title}
navigationAction={navigationAction}
disableMismatchWarning={disableMismatchWarning}
{...props}
/>
)
+1
View File
@@ -56,6 +56,7 @@ let PostMeta = (opts: PostMetaOpts): React.ReactNode => {
style={[pal.text, opts.displayNameStyle]}
numberOfLines={1}
lineHeight={1.2}
disableMismatchWarning
text={
<>
{sanitizeDisplayName(