This commit is contained in:
Roman Volosovskyi 2017-05-01 11:00:48 +03:00
parent 6b1b1fc3ef
commit 6a20f9040c
2 changed files with 4 additions and 3 deletions

View File

@ -34,7 +34,8 @@
:callback (fn [index] :callback (fn [index]
(case index (case index
0 (do 0 (do
(dispatch [:select-chat-input-command {:name "browse" (dispatch [:select-chat-input-command
{:bot "browse"
:prefill [link]}]) :prefill [link]}])
(js/setTimeout #(dispatch [:send-current-message]) 500)) (js/setTimeout #(dispatch [:send-current-message]) 500))
1 (.openURL linking link) 1 (.openURL linking link)

View File

@ -103,7 +103,7 @@
:sharing-cancel "Cancel" :sharing-cancel "Cancel"
:browsing-title "Browse" :browsing-title "Browse"
:browsing-browse "/browse" :browsing-browse "@browse"
:browsing-open-in-web-browser "Open in web browser" :browsing-open-in-web-browser "Open in web browser"
:browsing-cancel "Cancel" :browsing-cancel "Cancel"