From: Damyan Ivanov Date: Wed, 10 Apr 2019 21:00:35 +0000 (+0300) Subject: bump matching transaction limit to 150 X-Git-Tag: v0.9.4~8 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=983c6b875b4b3336b1c70bdf363e39b1ca5657ea;p=mobile-ledger.git bump matching transaction limit to 150 for when some deep histiry is changed --- diff --git a/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java b/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java index 2ff41c3f..0bf763a9 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java @@ -57,7 +57,7 @@ import java.util.regex.Pattern; public class RetrieveTransactionsTask extends AsyncTask { - 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("([\\d.-]+)"); @@ -584,7 +584,6 @@ public class RetrieveTransactionsTask return true; } - ; @SuppressLint("DefaultLocale") @Override protected String doInBackground(Void... params) {