fix: Add font back again, oops..

Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
Sid 2025-07-05 17:14:01 +02:00
parent f212978588
commit 3cb81d2db2
Signed by: sidski
GPG key ID: D2BBDF3EDE6BA9A6

View file

@ -1,6 +1,15 @@
import * as Font from "expo-font";
import { Stack } from "expo-router";
export default function RootLayout() {
const [fontsLoaded] = Font.useFonts({
Minecraft: require("../assets/fonts/Minecraft.ttf"),
});
if (!fontsLoaded) {
return null;
}
return (
<Stack>
<Stack.Screen name="index" options={{ headerShown: false }} />