last tickets
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { useState, useEffect, createContext, useRef } from "react";
|
||||
import { StyleSheet, Text, Animated } from "react-native";
|
||||
import { Fonts, Palette, Style } from "../styles";
|
||||
import { isWeb } from "../hooks/useLayoutType";
|
||||
import { StyleSheet, Animated } from "react-native";
|
||||
import { Palette, Style } from "../styles";
|
||||
import { Image } from "expo-image";
|
||||
|
||||
export const SplashAnimationContext = createContext();
|
||||
|
||||
@@ -39,7 +39,14 @@ const SplashAnimationProvider = ({ children }) => {
|
||||
opacity: fadeAnim,
|
||||
}}
|
||||
>
|
||||
{isWeb && <Text style={Fonts({ type: "megaTitle" })}>m</Text>}
|
||||
<Image
|
||||
source={require("../../assets/splash.png")}
|
||||
contentFit={"contain"}
|
||||
style={{
|
||||
width: 250,
|
||||
height: 250,
|
||||
}}
|
||||
/>
|
||||
</Animated.View>
|
||||
)}
|
||||
</SplashAnimationContext.Provider>
|
||||
|
||||
Reference in New Issue
Block a user