fixes #406 (waiting for a new wallet icon)

Former-commit-id: c61c7ccbc5830e4d5ff741e679e8ccc470d57613
This commit is contained in:
Roman Volosovskyi 2016-11-03 12:14:38 +02:00
parent 0a33da12be
commit 788cbc34f3
2 changed files with 4 additions and 8 deletions

View File

@ -17,12 +17,9 @@
(first name)]])
(defn chat-icon [photo-path {:keys [size border]}]
[view
(merge st/default-border-style
border
(st/border-style size))
[image {:source {:uri photo-path}
:style (st/image-style size)}]])
[image {:source {:uri photo-path}
:style (merge st/default-image-style
(st/image-style size))}])
(defn dapp-badge [styles]
[view st/online-view-wrapper
@ -92,7 +89,6 @@
:online-dot-left st/online-dot-left
:online-dot-right st/online-dot-right
:size 64
:border {}
:chat-icon st/chat-icon-message-status
:default-chat-icon (st/default-chat-icon-message-status color)
:default-chat-icon-text st/message-status-icon-text}])

View File

@ -173,7 +173,7 @@
(def container-message-status
{:margin-top 20})
(def default-border-style
(def default-image-style
{:margin 4})
(defn border-style [size]