fix can't share deep link from profile on ios (#13420)

This commit is contained in:
Parvesh Monu 2022-05-31 15:29:28 +05:30 committed by GitHub
parent 91f444ba80
commit 8820f458c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -53,9 +53,10 @@
address]]] address]]]
[react/view styles/share-link-button [react/view styles/share-link-button
[quo/button [quo/button
{:on-press #(do {:on-press (fn []
(re-frame/dispatch [:hide-popover]) (re-frame/dispatch [:hide-popover])
(list-selection/open-share {:message link})) (js/setTimeout
#(list-selection/open-share {:message link}) 250))
:accessibility-label :share-my-contact-code-button} :accessibility-label :share-my-contact-code-button}
(i18n/label :t/share-link)]]]))) (i18n/label :t/share-link)]]])))