diff --git a/lib/event_ds.dart b/lib/event_ds.dart index 5656c96..2d6dc90 100644 --- a/lib/event_ds.dart +++ b/lib/event_ds.dart @@ -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; diff --git a/pubspec.yaml b/pubspec.yaml index d7e0dce..d2a7046 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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'