Hide opened keyboard when user taps on chat (#1057)

This commit is contained in:
alwx 2017-05-02 10:29:32 +03:00 committed by Roman Volosovskyi
parent 1a88b647b4
commit 561c66084c
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
[status-im.utils.listview :refer [to-datasource-inverted]]
[status-im.utils.utils :refer [truncate-str]]
[status-im.utils.datetime :as time]
[status-im.utils.platform :refer [platform-specific]]
[status-im.utils.platform :as platform :refer [platform-specific]]
[status-im.components.invertible-scroll-view :refer [invertible-scroll-view]]
[status-im.components.toolbar-new.view :refer [toolbar]]
[status-im.chat.views.toolbar-content :refer [toolbar-content-view]]
@ -167,7 +167,7 @@
:renderScrollComponent #(invertible-scroll-view (js->clj %))
:onEndReached (when-not loaded? #(dispatch [:load-more-messages]))
:enableEmptySections true
:keyboardShouldPersistTaps :always
:keyboardShouldPersistTaps (if platform/android? :always :never)
:dataSource (to-datasource-inverted messages)}]))
(defview chat []