mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-07-28 13:02:12 +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 {
|
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
|
// 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);
|
node.printTree(0, DateTime.now().subtract(Duration(days:gNumLastDays)), selectAll);
|
||||||
bool userContinue = true;
|
bool userContinue = true;
|
||||||
|
@@ -153,10 +153,6 @@ class Tree {
|
|||||||
|
|
||||||
int printTree(int depth, var newerThan, fTreeSelector treeSelector) {
|
int printTree(int depth, var newerThan, fTreeSelector treeSelector) {
|
||||||
|
|
||||||
if( !treeSelector(this) & !whetherTopMost ) {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int numPrinted = 0;
|
int numPrinted = 0;
|
||||||
children.sort(sortTreeNewestReply);
|
children.sort(sortTreeNewestReply);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user