Skip to content

Commit

Permalink
qa
Browse files Browse the repository at this point in the history
  • Loading branch information
flexsurfer committed May 22, 2024
1 parent 8bc23c5 commit a6701d7
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/legacy/status_im/ui/components/list_selection.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@
(defn browse
[link]
(show {:title (i18n/label :t/browsing-title)
:options [(when config/show-not-implemented-features?
{:label (i18n/label :t/browsing-open-in-status)
:action #(re-frame/dispatch [:browser.ui/open-url link])})
{:label (i18n/label (platform-web-browser))
:action #(.openURL ^js react/linking (url/normalize-url link))}]
:options (if config/show-not-implemented-features?
[{:label (i18n/label :t/browsing-open-in-status)
:action #(re-frame/dispatch [:browser.ui/open-url link])}
{:label (i18n/label (platform-web-browser))
:action #(.openURL ^js react/linking (url/normalize-url link))}]
[{:label (i18n/label (platform-web-browser))
:action #(.openURL ^js react/linking (url/normalize-url link))}])
:cancel-text (i18n/label :t/browsing-cancel)}))

(defn browse-in-web-browser
Expand Down

0 comments on commit a6701d7

Please sign in to comment.