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

View File

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