feat: fix video url

This commit is contained in:
2025-12-08 16:05:10 +01:00
parent 23eded7513
commit 9c2087c574
2 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -395,7 +395,8 @@ const Home = ({ navigation, route }) => {
const handleStartVisit = useCallback(() => {
setVideoUrl(isWeb ? videos?.landingWeb : videos?.landing);
}, []);
console.log("is web ? : ", isWeb);
console.log("landing video url is : ", videoUrl);
const handleReturnToLanding = useCallback(() => {
navigate(Routes.LandingPage);
}, []);
@@ -62,7 +62,7 @@ const ClubAdvantagesCard = ({ style, isDev = false }) => {
style,
]}
>
{isDev ? (
{/* {isDev ? (
<View style={styles.testSwitches}>
<View style={styles.switchRow}>
<Text style={styles.switchLabel}>Test layout web</Text>
@@ -77,7 +77,7 @@ const ClubAdvantagesCard = ({ style, isDev = false }) => {
/>
</View>
</View>
) : null}
) : null} */}
<View style={styles.header}>
<View style={styles.titleBlock}>
@@ -147,6 +147,8 @@ const ClubAdvantagesCard = ({ style, isDev = false }) => {
style={[
styles.advantageContent,
useWebLayout && styles.advantageContentWeb,
hasActiveSubscription &&
!useWebLayout && { paddingRight: 10 },
]}
>
<Text
@@ -204,7 +206,7 @@ const styles = StyleSheet.create({
},
testSwitches: {
gap: gutters * 0.75,
backgroundColor: "rgba(255, 255, 255, 0.08)",
// backgroundColor: "rgba(255, 255, 255, 0.08)",
padding: gutters * 0.9,
borderRadius: 14,
borderWidth: 1,