INNER CODE UNIT · JavaScript
loadResources
jellyfin/jellyfin-ios · App.js:68
const loadResources = async () => {
try {
await Promise.all([
Font.loadAsync({
// This is the font that we are using for our tab bar
...Ionicons.font
}),
...loadImages(),
StaticScriptLoader.load()
]);
} catch (err) {
console.warn('[App] Failed loading resources', err);
}
setIsSplashReady(true);
};
useEffect(() => {