refactor: Move media sources preload higher up the tree (#1216)

This commit is contained in:
lostb1t
2025-11-16 14:59:09 +01:00
committed by GitHub
parent 991b45de06
commit e7013edd84
2 changed files with 3 additions and 4 deletions

View File

@@ -27,6 +27,9 @@ const Page: React.FC = () => {
ItemFields.MediaStreams,
]);
// preload media sources in background
useItemQuery(id, false, undefined, []);
const opacity = useSharedValue(1);
const animatedStyle = useAnimatedStyle(() => {
return {