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";
|
import { Stack } from "expo-router";
|
||||||
|
|
||||||
export default function RootLayout() {
|
export default function RootLayout() {
|
||||||
|
const [fontsLoaded] = Font.useFonts({
|
||||||
|
Minecraft: require("../assets/fonts/Minecraft.ttf"),
|
||||||
|
});
|
||||||
|
|
||||||
|
if (!fontsLoaded) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack>
|
<Stack>
|
||||||
<Stack.Screen name="index" options={{ headerShown: false }} />
|
<Stack.Screen name="index" options={{ headerShown: false }} />
|
||||||
|
|
Loading…
Add table
Reference in a new issue