feat: videos

This commit is contained in:
2025-12-10 15:16:30 +01:00
parent c0455ebacb
commit b1ab6a549f
2 changed files with 21 additions and 9 deletions
+4 -7
View File
@@ -15,15 +15,12 @@ import { gutters } from "../../styles";
const Playback = ({ route, navigation }) => {
const { project } = route.params || {};
const { videos } = useUser();
const benhaiUrl = isWeb ? videos?.benhaiWeb || null : videos?.benhai;
const [showIntro, setShowIntro] = useState(benhaiUrl);
// const benhaiUrl = isWeb ? videos?.benhaiWeb || null : videos?.benhai;
const theoUrl = isWeb ? videos?.theoWeb : videos?.theo;
const [showIntro, setShowIntro] = useState(theoUrl);
const handleCloseIntro = () => {
if (showIntro === benhaiUrl) {
setShowIntro(isWeb ? videos?.theoWeb : videos?.theo);
} else {
setShowIntro(null);
}
setShowIntro(null);
};
const onPressRecord = useCallback(() => {