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

View File

@@ -1244,15 +1244,20 @@ const MemoizedMarkdownBlock = React.memo(function MemoizedMarkdownBlock({
interface MarkdownInheritedTextProps {
inheritedStyles: TextStyle;
textStyle: TextStyle;
style?: StyleProp<TextStyle>;
children: ReactNode;
}
function MarkdownInheritedText({
inheritedStyles,
textStyle,
style: overrideStyle,
children,
}: MarkdownInheritedTextProps) {
const style = useMemo(() => [inheritedStyles, textStyle], [inheritedStyles, textStyle]);
const style = useMemo(
() => [inheritedStyles, textStyle, overrideStyle],
[inheritedStyles, textStyle, overrideStyle],
);
return <Text style={style}>{children}</Text>;
}