From 39c8d5b2d52888706e234cc1c0dc4dc923144291 Mon Sep 17 00:00:00 2001 From: Hailey Date: Mon, 28 Jul 2025 08:37:04 -0700 Subject: [PATCH] don't check it is the latest update --- src/lib/hooks/useOTAUpdates.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/hooks/useOTAUpdates.ts b/src/lib/hooks/useOTAUpdates.ts index 864d5d6970..1452ab01c7 100644 --- a/src/lib/hooks/useOTAUpdates.ts +++ b/src/lib/hooks/useOTAUpdates.ts @@ -76,7 +76,7 @@ export function useApplyPullRequestOTAUpdate() { setPending(true) await setExtraParamsPullRequest(channel) const res = await checkForUpdateAsync() - if (res.isAvailable) { + if (res.manifest) { Alert.alert( '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?`, @@ -98,7 +98,7 @@ export function useApplyPullRequestOTAUpdate() { } else { Alert.alert( '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)