From a6701d748be414413977984a4bcb5a28403bd29e Mon Sep 17 00:00:00 2001 From: andrey Date: Wed, 22 May 2024 12:10:42 +0200 Subject: [PATCH] qa --- .../status_im/ui/components/list_selection.cljs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/legacy/status_im/ui/components/list_selection.cljs b/src/legacy/status_im/ui/components/list_selection.cljs index c0800368730..e0279307fc7 100644 --- a/src/legacy/status_im/ui/components/list_selection.cljs +++ b/src/legacy/status_im/ui/components/list_selection.cljs @@ -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