increased event id printed to 6 from 4

This commit is contained in:
Vishal 2022-12-22 07:08:37 +05:30
parent 68c9fb9bdb
commit 9300828945
2 changed files with 6 additions and 6 deletions

View File

@ -653,7 +653,7 @@ class EventData {
}
int n = 4;
int n = 6;
String maxN(String v) => v.length > n? v.substring(0,n) : v.substring(0, v.length);
String name = getAuthorName(pubkey);
@ -709,7 +709,7 @@ class EventData {
strToPrint += "${name}: ";
const int typicalxLen = "|id: 82b5 , 12:04 AM Sep 19".length + 5; // not sure where 5 comes from
String idDateLikes = " |id: ${maxN(id)} , $strDate ${getReactionStr(depth)}" ;
String idDateLikes = " |id: ${maxN(id)}, $strDate ${getReactionStr(depth)}" ;
idDateLikes = idDateLikes.padRight(typicalxLen);
String temp = tempEvaluatedContent==""?tempContent: tempEvaluatedContent;

View File

@ -1,12 +1,12 @@
name: nostr_console
description: A multi-platform nostr client built for terminal/console
version: 0.2.6-beta
version: 0.2.7-beta
homepage: https://github.com/vishalxl/nostr_console
# crated location and t rooms
# t tags added for all tags
# improved relay, fetching logic and added more default pubkeys to fetch
# incresed user id lenth to 5, and event id len to 6 in SN
environment:
sdk: '>=2.17.3 <3.0.0'