check for a deployment before prompting to apply it
Reloading into an update re-delivers the deep link that triggered it, and the same link can also just be tapped again. Checking first means both cases are silent when there is nothing new to apply - the version mismatch warning no longer fires ahead of the check either. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -94,9 +94,9 @@ export function useIntentHandler() {
|
||||
: null
|
||||
if (!channel) {
|
||||
Alert.alert('Error', 'No channel provided to look for.')
|
||||
} else {
|
||||
tryApplyUpdate(channel, appVersion)
|
||||
return
|
||||
}
|
||||
tryApplyUpdate(channel, appVersion)
|
||||
return
|
||||
}
|
||||
default: {
|
||||
|
||||
Reference in New Issue
Block a user