fixed error in photo path
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
7168896ffe
commit
66f90cfdbc
|
@ -245,7 +245,8 @@
|
||||||
|
|
||||||
(defn- photo [from photo-path]
|
(defn- photo [from photo-path]
|
||||||
[react/view
|
[react/view
|
||||||
[react/image {:source (if (string/starts-with? photo-path "contacts://")
|
[react/image {:source (if (and (not (string/blank? photo-path))
|
||||||
|
(string/starts-with? photo-path "contacts://"))
|
||||||
(->> (string/replace photo-path #"contacts://" "")
|
(->> (string/replace photo-path #"contacts://" "")
|
||||||
(keyword)
|
(keyword)
|
||||||
(get resources/contacts))
|
(get resources/contacts))
|
||||||
|
@ -285,10 +286,10 @@
|
||||||
content]]
|
content]]
|
||||||
(when last-outgoing?
|
(when last-outgoing?
|
||||||
[react/view style/delivery-status
|
[react/view style/delivery-status
|
||||||
(if (or (= (keyword message-type) :group-user-message)
|
(if (or (= (keyword message-type) :group-user-message)
|
||||||
group-chat)
|
group-chat)
|
||||||
[group-message-delivery-status message]
|
[group-message-delivery-status message]
|
||||||
[message-delivery-status message])])])
|
[message-delivery-status message])])])
|
||||||
|
|
||||||
(defn message-container-animation-logic [{:keys [to-value val callback]}]
|
(defn message-container-animation-logic [{:keys [to-value val callback]}]
|
||||||
(fn [_]
|
(fn [_]
|
||||||
|
|
Loading…
Reference in New Issue