Compare commits
No commits in common. "372b91c1ed58f3e4ed4e3a130dbb58c38213f036" and "01d3a3aa79153c70f69052370f1b4e928ce12f01" have entirely different histories.
372b91c1ed
...
01d3a3aa79
File diff suppressed because one or more lines are too long
|
|
@ -184,7 +184,7 @@
|
|||
"privacy": "© زاكر 2024.جميع الحقوق محفوظة"
|
||||
},
|
||||
"Links": {
|
||||
"google_play_link": "https://play.google.com/store/apps/details?id=com.misbar.zaker",
|
||||
"google_play_link": "https://play.google.com/store",
|
||||
"apple_store_link": "https://apps.apple.com",
|
||||
"facebook": "/",
|
||||
"telegram": "/",
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ import { detectDeviceType } from '../../utils/DetectDeviceType';
|
|||
import { Spin } from 'antd';
|
||||
import Layout from '../../components/layout/Layout';
|
||||
import { ExternalRedirect } from '../../utils/ExternalRedirect';
|
||||
import { Links } from '../../../data.json';
|
||||
|
||||
const Download = () => {
|
||||
const { DeviceType, setDeviceType }: any = useDetectDeviceType();
|
||||
|
|
@ -25,7 +24,7 @@ const Download = () => {
|
|||
<DownloadPage />
|
||||
</Layout>
|
||||
) : (
|
||||
<ExternalRedirect url={DeviceType === 'ios' ? Links.apple_store_link : Links.google_play_link} />
|
||||
<ExternalRedirect url={DeviceType === 'ios' ? 'https://apps.apple.com' : 'https://play.google.com/store'} />
|
||||
)
|
||||
}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user