wot: show friend icons is some views

easier to detect if someone is trying to fake us out

Changelog-Added: Friend icons next to names on some views. Check is friend. Arrows are friend-of-friends
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2022-08-09 16:48:47 -07:00
parent a59cb04ce0
commit 22cad4b072
13 changed files with 61 additions and 25 deletions

View File

@@ -33,7 +33,7 @@ struct ReplyView: View {
.foregroundColor(.gray)
.font(.footnote)
}
EventView(event: replying_to, highlight: .none, has_action_bar: false, damus: damus)
EventView(event: replying_to, highlight: .none, has_action_bar: false, damus: damus, show_friend_icon: true)
PostView(references: gather_reply_ids(our_pubkey: damus.pubkey, from: replying_to))
}
.padding()