[FIX #3640] No Join button when joining public chat

This commit is contained in:
Daniel Regeci 2018-05-17 19:16:34 +07:00 committed by Roman Volosovskyi
parent 54175caeba
commit c0bad8f848
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
3 changed files with 6 additions and 3 deletions

View File

@ -30,7 +30,8 @@
(re-frame/dispatch [:add-contact-handler])) (re-frame/dispatch [:add-contact-handler]))
:placeholder (i18n/label :t/enter-contact-code) :placeholder (i18n/label :t/enter-contact-code)
:style add-new.styles/input :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 [react/touchable-highlight {:on-press #(re-frame/dispatch [:scan-qr-code
{:toolbar-title (i18n/label :t/new-contact)} {:toolbar-title (i18n/label :t/new-contact)}
:set-contact-identity-from-qr]) :set-contact-identity-from-qr])

View File

@ -30,7 +30,8 @@
(re-frame/dispatch [:create-new-public-chat topic])) (re-frame/dispatch [:create-new-public-chat topic]))
:auto-capitalize :none :auto-capitalize :none
:accessibility-label :chat-name-input :accessibility-label :chat-name-input
:placeholder nil}]]] :placeholder nil
:return-key-type :go}]]]
(when error (when error
[tooltip/tooltip error styles/tooltip])]) [tooltip/tooltip error styles/tooltip])])

View File

@ -36,7 +36,8 @@
:auto-capitalize :none :auto-capitalize :none
:auto-correct false :auto-correct false
:style add-new.styles/input :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} [react/text {:style styles/list-title}
(i18n/label :t/selected-dapps)] (i18n/label :t/selected-dapps)]
[list/flat-list {:data dapps [list/flat-list {:data dapps