mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-07-12 13:22:20 +02:00
removed test debug flag
This commit is contained in:
@ -130,7 +130,7 @@ Future<void> otherMenuUi(Tree node, var contactList) async {
|
||||
}
|
||||
|
||||
Future<void> mainMenuUi(Tree node, var contactList) async {
|
||||
gDebug = 1;
|
||||
gDebug = 0;
|
||||
// at the very beginning, show the tree as it is, and them show the options menu
|
||||
node.printTree(0, DateTime.now().subtract(Duration(days:gNumLastDays)), selectAll);
|
||||
bool userContinue = true;
|
||||
|
@ -153,10 +153,6 @@ class Tree {
|
||||
|
||||
int printTree(int depth, var newerThan, fTreeSelector treeSelector) {
|
||||
|
||||
if( !treeSelector(this) & !whetherTopMost ) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int numPrinted = 0;
|
||||
children.sort(sortTreeNewestReply);
|
||||
|
||||
|
Reference in New Issue
Block a user