diff --git a/front/apps/mobile/app/index.tsx b/front/apps/mobile/app/index.tsx index c3ff47d8..37bcba78 100644 --- a/front/apps/mobile/app/index.tsx +++ b/front/apps/mobile/app/index.tsx @@ -20,7 +20,7 @@ import { Account, loginFunc } from "@kyoo/models"; import { getSecureItem, setSecureItem } from "@kyoo/models/src/secure-store"; -import { Button, CircularProgress, H1, P } from "@kyoo/primitives"; +import { Button, CircularProgress, H1, P, ts } from "@kyoo/primitives"; import { Redirect } from "expo-router"; import { createContext, useContext, useEffect, useState } from "react"; import { useTranslation } from "react-i18next"; @@ -75,12 +75,12 @@ export const ConnectionError = ({ error, retry }: { error?: string; retry: () => const router = useRouter(); return ( - theme.colors.red })}> -

{t("error.connection")}

+ +

{t("errors.connection")}

{error ?? t("error.unknown")}

-

{t("error.connection-tips")}

-