diff --git a/front/src/app/(app)/(tabs)/_layout.tsx b/front/src/app/(app)/(tabs)/_layout.tsx index eca02da5..e8d5db36 100644 --- a/front/src/app/(app)/(tabs)/_layout.tsx +++ b/front/src/app/(app)/(tabs)/_layout.tsx @@ -1,12 +1,7 @@ -import Browse from "@material-symbols/svg-400/rounded/browse-fill.svg"; -// import Downloading from "@material-symbols/svg-400/rounded/downloading-fill.svg"; -import Home from "@material-symbols/svg-400/rounded/home-fill.svg"; -import Person from "@material-symbols/svg-400/rounded/person-fill.svg"; -import { Slot, Tabs } from "expo-router"; +import { Slot } from "expo-router"; +import { NativeTabs } from "expo-router/unstable-native-tabs"; import { useTranslation } from "react-i18next"; import { Platform } from "react-native"; -import { Icon } from "~/primitives"; -import { cn } from "~/utils"; export const unstable_settings = { initialRouteName: "index", @@ -18,49 +13,32 @@ export default function TabsLayout() { if (Platform.OS === "web") return ; return ( - - { - return ( - - ); - }, - }} - /> - ( - - ), - }} - /> - ( - - ), - }} - /> - + + + + {t("navbar.home")} + + + + + {t("navbar.browse")} + + + + + + {t("navbar.profile")} + + + ); } diff --git a/front/src/ui/login/oidc.tsx b/front/src/ui/login/oidc.tsx index be720bbf..f274b959 100644 --- a/front/src/ui/login/oidc.tsx +++ b/front/src/ui/login/oidc.tsx @@ -55,5 +55,5 @@ export const OidcLogin = ({ apiUrl }: { apiUrl: string }) => { OidcLogin.query = (apiUrl?: string): QueryIdentifier => ({ path: ["auth", "info"], parser: AuthInfo, - options: { apiUrl }, + options: { apiUrl, returnError: true }, });