diff --git a/damus/Views/EventView.swift b/damus/Views/EventView.swift index ea9dd2c..5d696c4 100644 --- a/damus/Views/EventView.swift +++ b/damus/Views/EventView.swift @@ -83,17 +83,22 @@ struct EventView: View { NavigationLink(destination: booster_profile) { HStack { - Label("", systemImage: "arrow.2.squarepath") + Image(systemName: "arrow.2.squarepath") + .font(.footnote.weight(.bold)) .foregroundColor(Color.gray) - ProfileName(pubkey: event.pubkey, profile: damus.profiles.lookup(id: event.pubkey), contacts: damus.contacts, show_friend_confirmed: show_friend_icon) - .foregroundColor(Color.gray) - Text(" Boosted") + if let prof = damus.profiles.lookup(id: event.pubkey) { + Text(Profile.displayName(profile: prof, pubkey: event.pubkey)) + .font(.footnote.weight(.bold)) + .foregroundColor(Color.gray) + } + Text("Boosted") + .font(.footnote.weight(.bold)) .foregroundColor(Color.gray) } } .buttonStyle(PlainButtonStyle()) TextEvent(inner_ev, pubkey: inner_ev.pubkey) - .padding([.top], 2) + .padding([.top], 1) } } else { TextEvent(event, pubkey: pubkey) diff --git a/damus/Views/ProfileView.swift b/damus/Views/ProfileView.swift index db39b54..6397db8 100644 --- a/damus/Views/ProfileView.swift +++ b/damus/Views/ProfileView.swift @@ -98,7 +98,7 @@ struct ProfileView: View { Image(systemName: "bolt.circle") .symbolRenderingMode(.palette) .font(.system(size: 34).weight(.thin)) - .foregroundStyle(colorScheme == .light ? .black : .white, colorScheme == .light ? .black.opacity(0.1) : .white.opacity(0.1)) + .foregroundStyle(colorScheme == .light ? .black : .white, colorScheme == .light ? .black.opacity(0.1) : .white.opacity(0.2)) } } @@ -110,7 +110,7 @@ struct ProfileView: View { Image(systemName: "bubble.left.circle") .symbolRenderingMode(.palette) .font(.system(size: 34).weight(.thin)) - .foregroundStyle(colorScheme == .light ? .black : .white, colorScheme == .light ? .black.opacity(0.1) : .white.opacity(0.1)) + .foregroundStyle(colorScheme == .light ? .black : .white, colorScheme == .light ? .black.opacity(0.1) : .white.opacity(0.2)) } }