Files
streamyfin/components/common/Text.tsx
Fredrik Burmester 0e3e8b8016 Revert "fix: scaling"
This reverts commit 566ff485fb.
2026-01-24 10:05:22 +01:00

21 lines
454 B
TypeScript

import { Platform, Text as RNText, type TextProps } from "react-native";
export function Text(props: TextProps) {
const { style, ...otherProps } = props;
if (Platform.isTV)
return (
<RNText
allowFontScaling={false}
style={[{ color: "white" }, style]}
{...otherProps}
/>
);
return (
<RNText
allowFontScaling={false}
style={[{ color: "white" }, style]}
{...otherProps}
/>
);
}