diff --git a/apps/mobile/app/app.js b/apps/mobile/app/app.js index c131aecc2..f2e2e210c 100644 --- a/apps/mobile/app/app.js +++ b/apps/mobile/app/app.js @@ -17,13 +17,12 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ import "@azure/core-asynciterator-polyfill"; -import SettingsService from "./services/settings"; import { THEME_COMPATIBILITY_VERSION, useThemeEngineStore } from "@notesnook/theme"; import React, { useEffect } from "react"; -import { View } from "react-native"; +import { I18nManager, View } from "react-native"; import "react-native-gesture-handler"; import { GestureHandlerRootView } from "react-native-gesture-handler"; import { SafeAreaProvider } from "react-native-safe-area-context"; @@ -32,11 +31,16 @@ import { withErrorBoundry } from "./components/exception-handler"; import GlobalSafeAreaProvider from "./components/globalsafearea"; import { useAppEvents } from "./hooks/use-app-events"; import { ApplicationHolder } from "./navigation"; +import { themeTrpcClient } from "./screens/settings/theme-selector"; import Notifications from "./services/notifications"; +import SettingsService from "./services/settings"; import { TipManager } from "./services/tip-manager"; import { useThemeStore } from "./stores/use-theme-store"; import { useUserStore } from "./stores/use-user-store"; -import { themeTrpcClient } from "./screens/settings/theme-selector"; + +I18nManager.allowRTL(false); +I18nManager.forceRTL(false); +I18nManager.swapLeftAndRightInRTL(false); SettingsService.checkOrientation(); const App = () => {