Skip to content

Commit

Permalink
contacts: consistently use %look for cover and avatar fields
Browse files Browse the repository at this point in the history
  • Loading branch information
mikolajpp committed Oct 14, 2024
1 parent 9a59e2a commit 306c439
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions desk/lib/contacts.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,12 @@
(gth (met 3 u.bio) 2.048)
==
|
=+ avatar=(~(get cy con) %avatar %text)
=+ avatar=(~(get cy con) %avatar %look)
?: ?& ?=(^ avatar)
=('data:' (end 3^5 u.avatar))
==
|
=+ cover=(~(get cy con) %cover %text)
=+ cover=(~(get cy con) %cover %look)
?: ?& ?=(^ cover)
=('data:' (end 3^5 u.cover))
==
Expand Down Expand Up @@ -219,9 +219,9 @@
color+tint/color.o
==
=? c ?=(^ avatar.o)
(~(put by c) %avatar text/u.avatar.o)
(~(put by c) %avatar look/u.avatar.o)
=? c ?=(^ cover.o)
(~(put by c) %cover text/u.cover.o)
(~(put by c) %cover look/u.cover.o)
=? c !?=(~ groups.o)
%+ ~(put by c) %groups
:- %set
Expand Down Expand Up @@ -258,9 +258,9 @@
color
(~(gub cy c) %color %tint)
avatar
(~(get cy c) %avatar %text)
(~(get cy c) %avatar %look)
cover
(~(get cy c) %cover %text)
(~(get cy c) %cover %look)
groups
=/ groups
(~(get cy c) %groups %set)
Expand Down

0 comments on commit 306c439

Please sign in to comment.