don't check it is the latest update

This commit is contained in:
Hailey
2025-07-28 08:37:04 -07:00
parent 872fe324a0
commit 39c8d5b2d5
+2 -2
View File
@@ -76,7 +76,7 @@ export function useApplyPullRequestOTAUpdate() {
setPending(true) setPending(true)
await setExtraParamsPullRequest(channel) await setExtraParamsPullRequest(channel)
const res = await checkForUpdateAsync() const res = await checkForUpdateAsync()
if (res.isAvailable) { if (res.manifest) {
Alert.alert( Alert.alert(
'Deployment Available', 'Deployment Available',
`A deployment of ${channel} is availalble. Applying this deployment may result in a bricked installation, in which case you will need to reinstall the app and may lose local data. Are you sure you want to proceed?`, `A deployment of ${channel} is availalble. Applying this deployment may result in a bricked installation, in which case you will need to reinstall the app and may lose local data. Are you sure you want to proceed?`,
@@ -98,7 +98,7 @@ export function useApplyPullRequestOTAUpdate() {
} else { } else {
Alert.alert( Alert.alert(
'No Deployment Available', 'No Deployment Available',
`No new deployments of ${channel} are currently available for your current native build.`, `No deployments of ${channel} are currently available for your current native build.`,
) )
} }
setPending(false) setPending(false)