removed test debug flag

This commit is contained in:
vishalxl 2022-08-22 12:34:19 +05:30
parent 0f892301fb
commit 100ed2dd99
2 changed files with 1 additions and 5 deletions

View File

@ -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;

View File

@ -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);