displayed lud16 if people have it in their profile page

This commit is contained in:
Vishal
2022-12-26 20:09:55 +05:30
parent 0959c5019c
commit 27ce32bd1b
4 changed files with 14 additions and 8 deletions

View File

@@ -318,12 +318,14 @@ void printProfile(Store node, String profilePubkey) {
print("");
String about = gKindONames[profilePubkey]?.about??"";
String picture = gKindONames[profilePubkey]?.picture??"";
String lud16 = gKindONames[profilePubkey]?.lud16??"";
int dateLastUpdated = gKindONames[profilePubkey]?.createdAt??0;
bool verified = gKindONames[profilePubkey]?.nip05Verified??false;
String nip05Id = gKindONames[profilePubkey]?.nip05Id??"";
print("\nName : $authorName ( ${profilePubkey} ).");
print("About : $about");
print("Picture : $picture");
print("Lud16 : $lud16");
print("Nip 05 : ${verified?"yes. ${nip05Id}":"no"}");
print("\nLast Updated: ${getPrintableDate(dateLastUpdated)}\n");