diff --git a/lib/console_ui.dart b/lib/console_ui.dart index 2d24d6b..1f34e81 100644 --- a/lib/console_ui.dart +++ b/lib/console_ui.dart @@ -9,7 +9,7 @@ import 'package:bip340/bip340.dart'; Future processNotifications(Store node) async { // need a bit of wait to give other events to execute, so do a delay, which allows // relays to recieve and handle new events - const int waitMilliSeconds = 150; + const int waitMilliSeconds = 200; Future.delayed(const Duration(milliseconds: waitMilliSeconds), () { Set newEventIdsSet = node.processIncomingEvent(getRecievedEvents()); diff --git a/lib/event_ds.dart b/lib/event_ds.dart index a9f039c..7b99ed0 100644 --- a/lib/event_ds.dart +++ b/lib/event_ds.dart @@ -392,12 +392,12 @@ class EventData { String reactorId = reactors[i][0]; if( newLikes.contains(reactorId) && reactors[i][1] == "+") { // this is a notifications, print it and then later empty newLikes - reactorNames += gNotificationColor + getAuthorName(reactorId) + gColorEndMarker + comma; + reactorNames += comma + gNotificationColor + getAuthorName(reactorId) + gColorEndMarker; firstEntry = false; } else { // this is normal printing of the reaction. only print for + for now if( reactors[i][1] == "+") - reactorNames += getAuthorName(reactorId); + reactorNames += comma + getAuthorName(reactorId); firstEntry = false; } } // end for diff --git a/lib/settings.dart b/lib/settings.dart index a986ba7..ae9f7c8 100644 --- a/lib/settings.dart +++ b/lib/settings.dart @@ -5,7 +5,7 @@ final log = Logger('ExampleLogger'); // for debugging String gCheckEventId = ""; //"1763016774ceaa8c135dce01e77923994c5afad4cd3e126704a1292ebb1a577e"; //"15d86a36a620fc1f735f2322f31366b2adde786361f568faf6a0dc8368f7e534"; -const int gDefaultNumWaitSeconds = 3000; // is used in main() +const int gDefaultNumWaitSeconds = 2000; // is used in main() //////////////////////////////////////////////////////////////////////////////////////////////////////////////// file related settings const String gDefaultEventsFilename = "all_nostr_events.txt";