fix(app): restore assistant link color

This commit is contained in:
Mohamed Boudra
2026-04-24 14:03:49 +07:00
parent 9a4528129f
commit 83689ef0c5
+6 -1
View File
@@ -1244,15 +1244,20 @@ const MemoizedMarkdownBlock = React.memo(function MemoizedMarkdownBlock({
interface MarkdownInheritedTextProps { interface MarkdownInheritedTextProps {
inheritedStyles: TextStyle; inheritedStyles: TextStyle;
textStyle: TextStyle; textStyle: TextStyle;
style?: StyleProp<TextStyle>;
children: ReactNode; children: ReactNode;
} }
function MarkdownInheritedText({ function MarkdownInheritedText({
inheritedStyles, inheritedStyles,
textStyle, textStyle,
style: overrideStyle,
children, children,
}: MarkdownInheritedTextProps) { }: MarkdownInheritedTextProps) {
const style = useMemo(() => [inheritedStyles, textStyle], [inheritedStyles, textStyle]); const style = useMemo(
() => [inheritedStyles, textStyle, overrideStyle],
[inheritedStyles, textStyle, overrideStyle],
);
return <Text style={style}>{children}</Text>; return <Text style={style}>{children}</Text>;
} }