mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix breaking changes
This commit is contained in:
parent
ae518cafe5
commit
ec1184d5c9
@ -22,7 +22,8 @@ import { ConnectionErrorContext, useAccount } from "@kyoo/models";
|
||||
import { CircularProgress } from "@kyoo/primitives";
|
||||
import { NavbarRight, NavbarTitle } from "@kyoo/ui";
|
||||
import { useNetInfo } from "@react-native-community/netinfo";
|
||||
import { Redirect, SplashScreen, Stack } from "expo-router";
|
||||
import { Redirect, Stack } from "expo-router";
|
||||
import * as SplashScreen from "expo-splash-screen";
|
||||
import { useContext, useEffect } from "react";
|
||||
import { useSafeAreaInsets } from "react-native-safe-area-context";
|
||||
import { useTheme } from "yoshiki/native";
|
||||
|
@ -29,7 +29,7 @@ import { createSyncStoragePersister } from "@tanstack/query-sync-storage-persist
|
||||
import i18next from "i18next";
|
||||
import { Slot } from "expo-router";
|
||||
import { getLocales } from "expo-localization";
|
||||
import { SplashScreen } from "expo-router";
|
||||
import * as SplashScreen from "expo-splash-screen";
|
||||
import {
|
||||
useFonts,
|
||||
Poppins_300Light,
|
||||
@ -79,7 +79,7 @@ i18next.use(initReactI18next).init({
|
||||
escapeValue: false,
|
||||
},
|
||||
fallbackLng: "en",
|
||||
lng: getLocales()[0].languageCode,
|
||||
lng: getLocales()[0].languageCode ?? "en",
|
||||
resources: {
|
||||
en: { translation: en },
|
||||
fr: { translation: fr },
|
||||
|
@ -1,31 +0,0 @@
|
||||
/*
|
||||
* Kyoo - A portable and vast media library solution.
|
||||
* Copyright (c) Kyoo.
|
||||
*
|
||||
* See AUTHORS.md and LICENSE file in the project root for full license information.
|
||||
*
|
||||
* Kyoo is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* any later version.
|
||||
*
|
||||
* Kyoo is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Kyoo. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
module.exports = function (api) {
|
||||
api.cache(true);
|
||||
return {
|
||||
presets: ["babel-preset-expo"],
|
||||
plugins: [
|
||||
"transform-inline-environment-variables",
|
||||
"react-native-reanimated/plugin",
|
||||
"expo-router/babel",
|
||||
],
|
||||
};
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user