Fix public chats issue

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
This commit is contained in:
Vitaliy Vlasov 2019-06-25 13:39:33 +03:00
parent b172d60f1d
commit 9b82f5b9ec
No known key found for this signature in database
GPG Key ID: A7D57C347F2B2964
1 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,6 @@
[status-im.i18n :as i18n] [status-im.i18n :as i18n]
[re-frame.core :as re-frame] [re-frame.core :as re-frame]
[status-im.ui.screens.desktop.main.add-new.styles :as styles] [status-im.ui.screens.desktop.main.add-new.styles :as styles]
[status-im.ui.screens.add-new.new-public-chat.view :refer [default-public-chats]]
[status-im.ui.screens.add-new.new-public-chat.db :as public-chat.db] [status-im.ui.screens.add-new.new-public-chat.db :as public-chat.db]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[status-im.ui.components.react :as react] [status-im.ui.components.react :as react]
@ -123,7 +122,7 @@
[react/scroll-view [react/scroll-view
[react/view {:style styles/suggested-contacts} [react/view {:style styles/suggested-contacts}
(doall (doall
(for [topic public-chat/default-public-chats] (for [topic (public-chat/default-public-chats)]
^{:key topic} ^{:key topic}
[react/touchable-highlight {:on-press #(do [react/touchable-highlight {:on-press #(do
(re-frame/dispatch [:set :public-group-topic nil]) (re-frame/dispatch [:set :public-group-topic nil])