diff --git a/front/packages/ui/src/settings/base.tsx b/front/packages/ui/src/settings/base.tsx
index f941acf1..e2bbec68 100644
--- a/front/packages/ui/src/settings/base.tsx
+++ b/front/packages/ui/src/settings/base.tsx
@@ -45,8 +45,8 @@ export const Preference = ({
}: {
customIcon?: ReactElement | Falsy;
icon: Icon;
- label: string;
- description: string;
+ label: string | ReactElement;
+ description: string | ReactElement;
children?: ReactNode;
}) => {
const { css } = useYoshiki();
diff --git a/front/packages/ui/src/settings/oidc.tsx b/front/packages/ui/src/settings/oidc.tsx
index c7da72ea..1578f05e 100644
--- a/front/packages/ui/src/settings/oidc.tsx
+++ b/front/packages/ui/src/settings/oidc.tsx
@@ -19,10 +19,10 @@
*/
import { QueryIdentifier, ServerInfo, ServerInfoP, useAccount, useFetch } from "@kyoo/models";
-import { IconButton, tooltip, ts } from "@kyoo/primitives";
+import { IconButton, Skeleton, tooltip, ts } from "@kyoo/primitives";
import { useTranslation } from "react-i18next";
import { ImageBackground } from "react-native";
-import { useYoshiki } from "yoshiki/native";
+import { rem, useYoshiki } from "yoshiki/native";
import { ErrorView } from "../errors";
import { Preference, SettingsContainer } from "./base";
@@ -72,7 +72,17 @@ export const OidcSettings = () => {
/>
))
- ) : null}
+ ) : (
+ [...Array(3)].map((_, i) => (
+ }
+ icon={null!}
+ label={}
+ description={}
+ />
+ ))
+ )}
);
};