damus/c: fix a few warnings
This commit is contained in:
@@ -86,7 +86,7 @@ class SuggestedUsersViewModel: ObservableObject {
|
||||
}
|
||||
|
||||
switch nev {
|
||||
case .event(let sub_id, let ev):
|
||||
case .event:
|
||||
break
|
||||
|
||||
case .notice(let msg):
|
||||
|
||||
@@ -135,7 +135,7 @@ func get_profile_url(picture: String?, pubkey: Pubkey, profiles: Profiles) -> UR
|
||||
|
||||
func make_preview_profiles(_ pubkey: Pubkey) -> Profiles {
|
||||
let profiles = Profiles(ndb: test_damus_state.ndb)
|
||||
let picture = "http://cdn.jb55.com/img/red-me.jpg"
|
||||
//let picture = "http://cdn.jb55.com/img/red-me.jpg"
|
||||
//let profile = Profile(name: "jb55", display_name: "William Casarin", about: "It's me", picture: picture, banner: "", website: "https://jb55.com", lud06: nil, lud16: nil, nip05: "jb55.com", damus_donation: nil)
|
||||
//let ts_profile = TimestampedProfile(profile: profile, timestamp: 0, event: test_note)
|
||||
//profiles.add(id: pubkey, profile: ts_profile)
|
||||
|
||||
Reference in New Issue
Block a user