From b67397e2dac11385bc0b2aba1aaeb462b626caaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Gaspard?= Date: Thu, 13 Jun 2019 20:31:08 +0200 Subject: [PATCH] Limit the displayed review count to 99999 instead of 1000 --- .../src/main/java/com/ichi2/anki/StudyOptionsFragment.java | 2 +- AnkiDroid/src/main/java/com/ichi2/libanki/Sched.java | 2 +- AnkiDroid/src/main/java/com/ichi2/libanki/SchedV2.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AnkiDroid/src/main/java/com/ichi2/anki/StudyOptionsFragment.java b/AnkiDroid/src/main/java/com/ichi2/anki/StudyOptionsFragment.java index a31f408e394c..949c37155889 100644 --- a/AnkiDroid/src/main/java/com/ichi2/anki/StudyOptionsFragment.java +++ b/AnkiDroid/src/main/java/com/ichi2/anki/StudyOptionsFragment.java @@ -63,7 +63,7 @@ public class StudyOptionsFragment extends Fragment implements Toolbar.OnMenuItem private static final int CONTENT_EMPTY = 2; // Threshold at which the total number of new cards is truncated by libanki - private static final int NEW_CARD_COUNT_TRUNCATE_THRESHOLD = 1000; + private static final int NEW_CARD_COUNT_TRUNCATE_THRESHOLD = 99999; /** * Preferences diff --git a/AnkiDroid/src/main/java/com/ichi2/libanki/Sched.java b/AnkiDroid/src/main/java/com/ichi2/libanki/Sched.java index 27663cd7ceff..5120eb1c1bb0 100644 --- a/AnkiDroid/src/main/java/com/ichi2/libanki/Sched.java +++ b/AnkiDroid/src/main/java/com/ichi2/libanki/Sched.java @@ -113,7 +113,7 @@ public Sched() { public Sched(Collection col) { mCol = col; mQueueLimit = 50; - mReportLimit = 1000; + mReportLimit = 99999; mReps = 0; mHaveQueues = false; _updateCutoff(); diff --git a/AnkiDroid/src/main/java/com/ichi2/libanki/SchedV2.java b/AnkiDroid/src/main/java/com/ichi2/libanki/SchedV2.java index b60faae5e482..810ea1925620 100644 --- a/AnkiDroid/src/main/java/com/ichi2/libanki/SchedV2.java +++ b/AnkiDroid/src/main/java/com/ichi2/libanki/SchedV2.java @@ -114,7 +114,7 @@ public SchedV2(Collection col) { super(); mCol = col; mQueueLimit = 50; - mReportLimit = 1000; + mReportLimit = 99999; mDynReportLimit = 99999; mReps = 0; mToday = null;