From c0bad8f848a8901ae99b5a66cb1f6500b55bd9cc Mon Sep 17 00:00:00 2001 From: Daniel Regeci Date: Thu, 17 May 2018 19:16:34 +0700 Subject: [PATCH] [FIX #3640] No Join button when joining public chat --- src/status_im/ui/screens/add_new/new_chat/views.cljs | 3 ++- src/status_im/ui/screens/add_new/new_public_chat/view.cljs | 3 ++- src/status_im/ui/screens/add_new/open_dapp/views.cljs | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/status_im/ui/screens/add_new/new_chat/views.cljs b/src/status_im/ui/screens/add_new/new_chat/views.cljs index be5107041b..25ac8c417c 100644 --- a/src/status_im/ui/screens/add_new/new_chat/views.cljs +++ b/src/status_im/ui/screens/add_new/new_chat/views.cljs @@ -30,7 +30,8 @@ (re-frame/dispatch [:add-contact-handler])) :placeholder (i18n/label :t/enter-contact-code) :style add-new.styles/input - :accessibility-label :enter-contact-code-input}] + :accessibility-label :enter-contact-code-input + :return-key-type :go}] [react/touchable-highlight {:on-press #(re-frame/dispatch [:scan-qr-code {:toolbar-title (i18n/label :t/new-contact)} :set-contact-identity-from-qr]) diff --git a/src/status_im/ui/screens/add_new/new_public_chat/view.cljs b/src/status_im/ui/screens/add_new/new_public_chat/view.cljs index e99c7e4299..ea59e2652e 100644 --- a/src/status_im/ui/screens/add_new/new_public_chat/view.cljs +++ b/src/status_im/ui/screens/add_new/new_public_chat/view.cljs @@ -30,7 +30,8 @@ (re-frame/dispatch [:create-new-public-chat topic])) :auto-capitalize :none :accessibility-label :chat-name-input - :placeholder nil}]]] + :placeholder nil + :return-key-type :go}]]] (when error [tooltip/tooltip error styles/tooltip])]) diff --git a/src/status_im/ui/screens/add_new/open_dapp/views.cljs b/src/status_im/ui/screens/add_new/open_dapp/views.cljs index 9d034c9945..bebe3423a6 100644 --- a/src/status_im/ui/screens/add_new/open_dapp/views.cljs +++ b/src/status_im/ui/screens/add_new/open_dapp/views.cljs @@ -36,7 +36,8 @@ :auto-capitalize :none :auto-correct false :style add-new.styles/input - :accessibility-label :dapp-url-input}]] + :accessibility-label :dapp-url-input + :return-key-type :go}]] [react/text {:style styles/list-title} (i18n/label :t/selected-dapps)] [list/flat-list {:data dapps