fix: Add font back again, oops..
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
parent
f212978588
commit
3cb81d2db2
1 changed files with 9 additions and 0 deletions
|
@ -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 }} />
|
||||
|
|
Loading…
Add table
Reference in a new issue