mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-07-08 13:32:54 +01:00
fix(tv): font sizes
This commit is contained in:
@@ -3,6 +3,7 @@ import React from "react";
|
||||
import { View } from "react-native";
|
||||
import { Badge } from "@/components/Badge";
|
||||
import { Text } from "@/components/common/Text";
|
||||
import { TVTypography } from "@/constants/TVTypography";
|
||||
|
||||
export interface TVMetadataBadgesProps {
|
||||
year?: number | null;
|
||||
@@ -19,15 +20,19 @@ export const TVMetadataBadges: React.FC<TVMetadataBadgesProps> = React.memo(
|
||||
flexDirection: "row",
|
||||
alignItems: "center",
|
||||
flexWrap: "wrap",
|
||||
gap: 12,
|
||||
marginBottom: 20,
|
||||
gap: 16,
|
||||
marginBottom: 24,
|
||||
}}
|
||||
>
|
||||
{year != null && (
|
||||
<Text style={{ color: "#9CA3AF", fontSize: 18 }}>{year}</Text>
|
||||
<Text style={{ color: "white", fontSize: TVTypography.body }}>
|
||||
{year}
|
||||
</Text>
|
||||
)}
|
||||
{duration && (
|
||||
<Text style={{ color: "#9CA3AF", fontSize: 18 }}>{duration}</Text>
|
||||
<Text style={{ color: "white", fontSize: TVTypography.body }}>
|
||||
{duration}
|
||||
</Text>
|
||||
)}
|
||||
{officialRating && <Badge text={officialRating} variant='gray' />}
|
||||
{communityRating != null && (
|
||||
|
||||
Reference in New Issue
Block a user