[ISSUE #3246] Fixed regression when opening URL
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
This commit is contained in:
parent
c7e34ed122
commit
52cc220f21
|
@ -29,8 +29,8 @@
|
|||
|
||||
(defn browse [link]
|
||||
(show {:title (i18n/label :t/browsing-title)
|
||||
:options [{:text (i18n/label :t/browsing-open-in-browser)
|
||||
:action (re-frame/dispatch [:open-browser {:url link}])}
|
||||
{:text (i18n/label :t/browsing-open-in-web-browser)
|
||||
:action (.openURL react/linking link)}]
|
||||
:options [{:label (i18n/label :t/browsing-open-in-browser)
|
||||
:action #(re-frame/dispatch [:open-browser {:url link}])}
|
||||
{:label (i18n/label :t/browsing-open-in-web-browser)
|
||||
:action #(.openURL react/linking link)}]
|
||||
:cancel-text (i18n/label :t/browsing-cancel)}))
|
||||
|
|
Loading…
Reference in New Issue