Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33259738
D14362.1768596786.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D14362.1768596786.diff
View Options
diff --git a/native/navigation/deep-links-context-provider.react.js b/native/navigation/deep-links-context-provider.react.js
--- a/native/navigation/deep-links-context-provider.react.js
+++ b/native/navigation/deep-links-context-provider.react.js
@@ -17,6 +17,7 @@
type ParsedDeepLinkData,
} from 'lib/facts/links.js';
import { useCheckIfPrimaryDevice } from 'lib/hooks/primary-device-hooks.js';
+import { usePersistedStateLoaded } from 'lib/selectors/app-state-selectors.js';
import { isLoggedIn } from 'lib/selectors/user-selectors.js';
import { IdentityClientContext } from 'lib/shared/identity-client-context.js';
import { getKeyserverOverrideForAnInviteLink } from 'lib/shared/invite-links.js';
@@ -111,9 +112,10 @@
const navigation = useNavigation();
const usingRestoreFlow = useIsRestoreFlowEnabled();
const checkIfPrimaryDevice = useCheckIfPrimaryDevice();
+ const persistedStateLoaded = usePersistedStateLoaded();
React.useEffect(() => {
void (async () => {
- if (!loggedIn || !currentLink) {
+ if (!loggedIn || !currentLink || !persistedStateLoaded) {
return;
}
// We're setting this to null so that we ensure that each link click
@@ -184,6 +186,7 @@
showVersionUnsupportedAlert,
usingRestoreFlow,
checkIfPrimaryDevice,
+ persistedStateLoaded,
]);
React.useEffect(() => {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 16, 8:53 PM (7 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5946063
Default Alt Text
D14362.1768596786.diff (1 KB)
Attached To
Mode
D14362: [native] Fix deep link QR code navigation when app is killed
Attached
Detach File
Event Timeline
Log In to Comment