1
0
mirror of git://jb55.com/damus synced 2024-09-16 02:03:45 +00:00

ui: fix padding of username next to pfp on some views

Changelog-Fixed: Fix padding of username next to pfp on some views
This commit is contained in:
William Casarin 2023-09-11 13:59:43 -07:00
parent 9bac83352b
commit e3ccf95780

View File

@ -37,13 +37,13 @@ struct EventProfile: View {
}
var body: some View {
HStack(alignment: .center) {
HStack(alignment: .center, spacing: 10) {
ProfilePicView(pubkey: pubkey, size: pfp_size, highlight: .none, profiles: damus_state.profiles, disable_animation: disable_animation)
.onTapGesture {
damus_state.nav.push(route: .ProfileByKey(pubkey: pubkey))
}
VStack(alignment: .leading) {
VStack(alignment: .leading, spacing: 0) {
EventProfileName(pubkey: pubkey, profile: profile, damus: damus_state, size: size)
UserStatusView(status: damus_state.profiles.profile_data(pubkey).status, show_general: damus_state.settings.show_general_statuses, show_music: damus_state.settings.show_music_statuses)