reformat status-im.chat.* namespaces

This commit is contained in:
Roman Volosovskyi 2018-05-07 12:14:54 +03:00
parent 4f979fba43
commit 34ae92ac9f
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
23 changed files with 826 additions and 832 deletions

View File

@ -376,7 +376,6 @@
:chat-id current-chat-id :chat-id current-chat-id
:identity current-public-key}))) :identity current-public-key})))
(handlers/register-handler-fx (handlers/register-handler-fx
:send-current-message :send-current-message
message-model/send-interceptors message-model/send-interceptors

View File

@ -55,7 +55,6 @@
(when send-seen? (when send-seen?
(transport/send (protocol/map->MessagesSeen {:message-ids #{message-id}}) chat-id cofx))) (transport/send (protocol/map->MessagesSeen {:message-ids #{message-id}}) chat-id cofx)))
(defn- add-received-message (defn- add-received-message
[{:keys [from message-id chat-id content content-type timestamp clock-value to-clock-value] :as message} [{:keys [from message-id chat-id content content-type timestamp clock-value to-clock-value] :as message}
{:keys [db now] :as cofx}] {:keys [db now] :as cofx}]

View File

@ -5,7 +5,6 @@
[status-im.ui.components.colors :as colors] [status-im.ui.components.colors :as colors]
[status-im.constants :as constants])) [status-im.constants :as constants]))
(defstyle style-message-text (defstyle style-message-text
{:font-size 15 {:font-size 15
:color styles/text1-color :color styles/text1-color

View File

@ -3,7 +3,6 @@
(:require [status-im.ui.components.styles :as component.styles] (:require [status-im.ui.components.styles :as component.styles]
[status-im.ui.components.colors :as colors])) [status-im.ui.components.colors :as colors]))
(def scroll-root (def scroll-root
{:flex 1}) {:flex 1})

View File

@ -13,7 +13,6 @@
:bot-db-key bot-db-key :bot-db-key bot-db-key
:contact contact}])}])) :contact contact}])}]))
(defview choose-contact-view [{title :title (defview choose-contact-view [{title :title
arg-index :index arg-index :index
bot-db-key :bot-db-key}] bot-db-key :bot-db-key}]

View File

@ -107,7 +107,6 @@
[react/text {:style (style/input-helper-text width)} [react/text {:style (style/input-helper-text width)}
placeholder]])) placeholder]]))
(defn get-options [type] (defn get-options [type]
(case (keyword type) (case (keyword type)
:phone {:keyboard-type "phone-pad"} :phone {:keyboard-type "phone-pad"}