@@ -2,8 +2,9 @@ import { useIsFocused } from "@react-navigation/native";
22import { useEvent } from "expo" ;
33import { useVideoPlayer , VideoView } from "expo-video" ;
44import { useEffect , useEffectEvent , useRef , useState } from "react" ;
5- import { ActivityIndicator , AppState , Pressable , View } from "react-native" ;
5+ import { AppState , Pressable , View } from "react-native" ;
66
7+ import { AppActivityIndicator } from "./AppActivityIndicator" ;
78import { AppText } from "./AppText" ;
89import { SymbolView } from "./AppSymbol" ;
910import { VideoThumbnailImage } from "./VideoThumbnailImage" ;
@@ -96,7 +97,7 @@ function LoadedMediaVideo(props: {
9697 </ View >
9798 ) : loadState === "pending" || status === "loading" ? (
9899 < View pointerEvents = "none" className = "absolute inset-0 items-center justify-center" >
99- < ActivityIndicator color = "#ffffff" accessibilityLabel = "Loading video" />
100+ < AppActivityIndicator color = "#ffffff" accessibilityLabel = "Loading video" />
100101 </ View >
101102 ) : null }
102103 </ View >
@@ -160,7 +161,7 @@ function MediaVideoPlayerContent(props: MediaVideoPlayerProps) {
160161 { props . unavailable ? (
161162 < AppText className = "text-sm text-white/80" > Video unavailable</ AppText >
162163 ) : props . uri === null ? (
163- < ActivityIndicator color = "#ffffff" accessibilityLabel = "Loading video" />
164+ < AppActivityIndicator color = "#ffffff" accessibilityLabel = "Loading video" />
164165 ) : (
165166 < View className = "size-12 items-center justify-center rounded-full bg-black/60" >
166167 < SymbolView name = "play" size = { 28 } tintColor = "#ffffff" type = "monochrome" />
0 commit comments