damus

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

commit 2f1063b49ffc0ab16f851fa5397cce3c5776923f
parent 73110952e5af9380e2809fcf939f803d591b2f51
Author: Swift <scoder1747@gmail.com>
Date:   Fri, 13 Jan 2023 15:47:21 -0500

Resolve issue on Roboash not appearing in sidebar pfp

Also works fine with users with profile pic url set

Closes: #315

Diffstat:
Mdamus/ContentView.swift | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/damus/ContentView.swift b/damus/ContentView.swift @@ -229,11 +229,7 @@ struct ContentView: View { Button { isSideBarOpened.toggle() } label: { - if let picture = damus_state?.profiles.lookup(id: pubkey)?.picture { - ProfilePicView(pubkey: damus_state!.pubkey, size: 32, highlight: .none, profiles: damus_state!.profiles, picture: picture) - } else { - Image(systemName: "person.fill") - } + ProfilePicView(pubkey: damus_state!.pubkey, size: 32, highlight: .none, profiles: damus_state!.profiles) } }