mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-04-17 08:11:50 +02:00
Removed extra print statement
This commit is contained in:
parent
6c2a23c689
commit
0318202401
@ -159,7 +159,7 @@ Future<void> otherMenuUi(Tree node, var contactList) async {
|
||||
// if contact list was found, get user's feed, and keep the contact list for later use
|
||||
String authorName = gKindONames[pubkey.first]?.name??"";
|
||||
List<String> contactList = [];
|
||||
printUnderlined("Profile for User");
|
||||
printUnderlined("\nProfile for User");
|
||||
print("\nName : $authorName ( ${pubkey.first} ).");
|
||||
|
||||
if (contactEvent != null ) {
|
||||
|
@ -595,13 +595,13 @@ void processKind0Event(Event e) {
|
||||
if(name != Null) {
|
||||
if( !gKindONames.containsKey(e.eventData.pubkey)) {
|
||||
gKindONames[e.eventData.pubkey] = UserNameInfo(e.eventData.createdAt, name??"", about??"", picture??"");
|
||||
print("Created meta data for name: $name about: $about picture: $picture");
|
||||
//print("Created meta data for name: $name about: $about picture: $picture");
|
||||
} else {
|
||||
int oldTime = gKindONames[e.eventData.pubkey]?.createdAt??0;
|
||||
if( oldTime < e.eventData.createdAt) {
|
||||
String oldName = gKindONames[e.eventData.pubkey]?.name??"";
|
||||
gKindONames[e.eventData.pubkey] = UserNameInfo(e.eventData.createdAt, name??"", about??"", picture??"");
|
||||
print("Updated meta data to name: $name from $oldName");
|
||||
//print("Updated meta data to name: $name from $oldName");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user