import AndroidLogo from '@/assets/icons/svg/android.svg'; import AppleLogo from '@/assets/icons/svg/apple.svg'; import MemoIP from '@/assets/icons/svg/memo-ip.svg'; import { LinearGradient } from 'expo-linear-gradient'; import { useTranslation } from 'react-i18next'; import { Linking, Text, TouchableOpacity, View } from 'react-native'; interface PCDownloadProps { IOS_APP_STORE_URL: string, ANDROID_APK_URL: string } const PCDownload = (props: PCDownloadProps) => { const { IOS_APP_STORE_URL, ANDROID_APK_URL } = props const handleIOSDownload = () => { Linking.openURL(IOS_APP_STORE_URL); }; const handleAndroidDownload = () => { Linking.openURL(ANDROID_APK_URL); }; const { t } = useTranslation(); return ( MemoWake {t('desc', { ns: 'download' })} {t('ios', { ns: 'download' })} {t('android', { ns: 'download' })} ) } export default PCDownload