made user pics circle in chat
This commit is contained in:
parent
1655873738
commit
a3700c19ac
|
@ -83,9 +83,8 @@
|
|||
{:width 36
|
||||
:alignSelf :flex-start})
|
||||
|
||||
(def photo-view {:borderRadius 12})
|
||||
(def photo
|
||||
{:borderRadius 12
|
||||
{:borderRadius 18
|
||||
:width 36
|
||||
:height 36})
|
||||
|
||||
|
|
|
@ -317,7 +317,7 @@
|
|||
|
||||
(defview member-photo [from]
|
||||
[photo-path [:photo-path from]]
|
||||
[view st/photo-view
|
||||
[view
|
||||
[image {:source {:uri (if (str/blank? photo-path)
|
||||
(identicon from)
|
||||
photo-path)}
|
||||
|
@ -326,7 +326,7 @@
|
|||
(defview my-photo [from]
|
||||
[account [:get-current-account]]
|
||||
(let [{:keys [photo-path]} account]
|
||||
[view st/photo-view
|
||||
[view
|
||||
[image {:source {:uri (if (str/blank? photo-path)
|
||||
(identicon from)
|
||||
photo-path)}
|
||||
|
|
Loading…
Reference in New Issue