damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 487419d098f509b479764ad9f9cf6fdfe0ea63d5
parent ba82f19a11b539db38c0cb470086c25c612b10b8
Author: benthecarman <15256660+benthecarman@users.noreply.github.com>
Date:   Sun,  5 Mar 2023 22:14:04 -0600

Don't show follows you for own profile

Changelog-Fixed: Don't show follows you for your own profile
Closes: #740

Diffstat:
Mdamus/Views/ProfileView.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Views/ProfileView.swift b/damus/Views/ProfileView.swift @@ -329,7 +329,7 @@ struct ProfileView: View { actionSection(profile_data: profile_data) } - let follows_you = profile.follows(pubkey: damus_state.pubkey) + let follows_you = profile.pubkey != damus_state.pubkey && profile.follows(pubkey: damus_state.pubkey) ProfileNameView(pubkey: profile.pubkey, profile: profile_data, follows_you: follows_you, damus: damus_state) } }