Add system warnings, delivery notifications, general unread messages

badge
This commit is contained in:
Vitaliy Vlasov 2018-07-20 13:16:49 +03:00
parent 2d3952f252
commit d0e5ecd48b
No known key found for this signature in database
GPG Key ID: A7D57C347F2B2964
2 changed files with 53 additions and 52 deletions

View File

@ -3,6 +3,7 @@
(:require [re-frame.core :as re-frame]
[reagent.core :as reagent]
[status-im.ui.components.react :as react]
[taoensso.timbre :as log]
[status-im.ui.components.connectivity.styles :as styles]
[status-im.i18n :as i18n]))

View File

@ -1,6 +1,6 @@
(ns status-im.ui.screens.desktop.main.chat.views
(:require-macros [status-im.utils.views :as views])
(:require [re-frame.core :as re-frame]
(:require-macros [status-im.utils.views :as views])
(:require [re-frame.core :as re-frame]
[status-im.ui.components.icons.vector-icons :as icons]
[clojure.string :as string]
[status-im.chat.styles.message.message :as message.style]
@ -25,7 +25,7 @@
(views/defview toolbar-chat-view [{:keys [chat-id color public-key public? group-chat]
:as current-chat}]
(views/letsubs [chat-name [:get-current-chat-name]
(views/letsubs [chat-name [:get-current-chat-name]
{:keys [pending? whisper-identity photo-path]} [:get-current-chat-contact]]
[react/view {:style styles/toolbar-chat-view}
[react/view {:style {:flex-direction :row