feat: videos
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user