diff --git a/frontend/app.json b/frontend/app.json index d30aa03..5890294 100644 --- a/frontend/app.json +++ b/frontend/app.json @@ -7,6 +7,7 @@ "icon": "./assets/images/icon.png", "scheme": "myapp", "userInterfaceStyle": "automatic", + "newArchEnabled": true, "splash": { "image": "./assets/images/splash.png", "resizeMode": "contain", diff --git a/frontend/app/+html.tsx b/frontend/app/+html.tsx deleted file mode 100644 index 2d6b247..0000000 --- a/frontend/app/+html.tsx +++ /dev/null @@ -1,42 +0,0 @@ -import { ScrollViewStyleReset } from "expo-router/html"; -import { type PropsWithChildren } from "react"; - -/** - * This file is web-only and used to configure the root HTML for every web page during static rendering. - * The contents of this function only run in Node.js environments and do not have access to the DOM or browser APIs. - */ -export default function Root({ children }: PropsWithChildren) { - return ( - - - - - - - {/* - Disable body scrolling on web. This makes ScrollView components work closer to how they do on native. - However, body scrolling is often nice to have for mobile web. If you want to enable it, remove this line. - */} - - - {/* Using raw CSS styles as an escape-hatch to ensure the background color never flickers in dark-mode. */} -