mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix episodes display time overflow
This commit is contained in:
parent
91498f45cd
commit
991e5004d7
@ -23,9 +23,11 @@ import { CircularProgress } from "@kyoo/primitives";
|
||||
import { NavbarRight, NavbarTitle } from "@kyoo/ui";
|
||||
import { Redirect, SplashScreen, Stack } from "expo-router";
|
||||
import { useContext, useEffect } from "react";
|
||||
import { useSafeAreaInsets } from "react-native-safe-area-context";
|
||||
import { useTheme } from "yoshiki/native";
|
||||
|
||||
export default function SignGuard() {
|
||||
const insets = useSafeAreaInsets();
|
||||
const theme = useTheme();
|
||||
// TODO: support guest accounts on mobile too.
|
||||
const account = useAccount();
|
||||
@ -46,6 +48,9 @@ export default function SignGuard() {
|
||||
headerRight: () => <NavbarRight />,
|
||||
contentStyle: {
|
||||
backgroundColor: theme.background,
|
||||
paddingBottom: insets.bottom,
|
||||
paddingLeft: insets.left,
|
||||
paddingRight: insets.right,
|
||||
},
|
||||
headerStyle: {
|
||||
backgroundColor: theme.accent,
|
||||
|
@ -241,7 +241,7 @@ export const EpisodeLine = ({
|
||||
>
|
||||
<Skeleton>
|
||||
{isLoading || (
|
||||
<H6 aria-level={undefined} {...css("title")}>
|
||||
<H6 aria-level={undefined} {...css([{ flexShrink: 1 }, "title"])}>
|
||||
{name ?? t("show.episodeNoMetadata")}
|
||||
</H6>
|
||||
)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user