feat: videos

This commit is contained in:
leon
2026-09-09 09:58:40 +02:00
parent 6e8b5ab66c
commit 24b267f2bf
7 changed files with 47 additions and 47 deletions
+2 -3
View File
@@ -10,7 +10,6 @@ import { Routes } from '../../navigation'
import { goBack, navigate } from '../../navigation/NavigationService'
import { gutters } from '../../styles'
import { useUserData } from '../../providers/UserDataProvider'
import { isWeb } from '../../hooks/useLayoutType'
const Compose = () => {
const { videos } = useUserData()
@@ -21,8 +20,8 @@ const Compose = () => {
const [videoUrl, setVideoUrl] = useState(null)
useEffect(() => {
setVideoUrl(isWeb ? videos.malikWeb : videos?.malik)
}, [])
setVideoUrl(videos?.malik || null)
}, [videos?.malik])
const handleBack = () => {
if (fromLyrics) {