diff --git a/src/components/FeatureTrainingModal.tsx b/src/components/FeatureTrainingModal.tsx index 3220b6d28730..b518acb069f3 100644 --- a/src/components/FeatureTrainingModal.tsx +++ b/src/components/FeatureTrainingModal.tsx @@ -142,7 +142,7 @@ function FeatureTrainingModal({ url={videoURL} videoPlayerStyle={[styles.onboardingVideoPlayer, {aspectRatio}]} onVideoLoaded={setAspectRatio} - controlsStatus={CONST.VIDEO_PLAYER.CONTROLS_STATUS.SHOW} + controlsStatus={CONST.VIDEO_PLAYER.CONTROLS_STATUS.HIDE} shouldUseControlsBottomMargin={false} shouldPlay isLooping diff --git a/src/components/Lottie/index.tsx b/src/components/Lottie/index.tsx index a9b223a87a54..dd46b33a8400 100644 --- a/src/components/Lottie/index.tsx +++ b/src/components/Lottie/index.tsx @@ -6,6 +6,7 @@ import {View} from 'react-native'; import type DotLottieAnimation from '@components/LottieAnimations/types'; import useAppState from '@hooks/useAppState'; import useNetwork from '@hooks/useNetwork'; +import useSplashScreen from '@hooks/useSplashScreen'; import useThemeStyles from '@hooks/useThemeStyles'; type Props = { @@ -14,6 +15,7 @@ type Props = { function Lottie({source, webStyle, ...props}: Props, ref: ForwardedRef) { const appState = useAppState(); + const {isSplashHidden} = useSplashScreen(); const styles = useThemeStyles(); const [isError, setIsError] = React.useState(false); @@ -27,14 +29,15 @@ function Lottie({source, webStyle, ...props}: Props, ref: ForwardedRef