]> git.ktnx.net Git - mobile-ledger.git/commitdiff
bump matching transaction limit to 150
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 10 Apr 2019 21:00:35 +0000 (00:00 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 10 Apr 2019 21:00:35 +0000 (00:00 +0300)
for when some deep histiry is changed

app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java

index 2ff41c3f7ac894e420942cea6b268934535da713..0bf763a981656a3812941186d797d67474ddc6b1 100644 (file)
@@ -57,7 +57,7 @@ import java.util.regex.Pattern;
 
 public class RetrieveTransactionsTask
         extends AsyncTask<Void, RetrieveTransactionsTask.Progress, String> {
-    private static final int MATCHING_TRANSACTIONS_LIMIT = 50;
+    private static final int MATCHING_TRANSACTIONS_LIMIT = 150;
     private static final Pattern reComment = Pattern.compile("^\\s*;");
     private static final Pattern reTransactionStart = Pattern.compile("<tr class=\"title\" " +
                                                                       "id=\"transaction-(\\d+)\"><td class=\"date\"[^\"]*>([\\d.-]+)</td>");
@@ -584,7 +584,6 @@ public class RetrieveTransactionsTask
         return true;
     }
 
-    ;
     @SuppressLint("DefaultLocale")
     @Override
     protected String doInBackground(Void... params) {