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

@@ -71,7 +71,7 @@ struct EventDetailView: View {
toggle_thread_view()
}
case .event(let ev, let highlight):
EventView(event: ev, highlight: highlight, has_action_bar: true, damus: damus)
EventView(event: ev, highlight: highlight, has_action_bar: true, damus: damus, show_friend_icon: true)
.onTapGesture {
if thread.initial_event.id == ev.id {
toggle_thread_view()