mirror of
git://jb55.com/damus
synced 2024-09-18 19:23:49 +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:
parent
9bac83352b
commit
e3ccf95780
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user