commit efc50f5b18322e6b98f7db4b3fe49bc30f8691d9 parent 10c9e8ddbcc03a81744b687252be09a950c8cc4e Author: percy-g2 <gahlotpercy@gmail.com> Date: Tue, 21 Feb 2023 09:14:41 +0530 Preview profile name Closes: #663 Diffstat:
M | damus/Views/ProfileName.swift | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/damus/Views/ProfileName.swift b/damus/Views/ProfileName.swift @@ -168,3 +168,9 @@ struct EventProfileName: View { } } +struct ProfileName_Previews: PreviewProvider { + static var previews: some View { + ProfileName(pubkey: + test_damus_state().pubkey, profile: make_test_profile(), damus: test_damus_state(), show_friend_confirmed: true) + } +}