From: Damyan Ivanov Date: Sat, 19 Sep 2020 09:13:20 +0000 (+0300) Subject: fix duplicate first date delimiter when the latest date is in the past X-Git-Tag: v0.15.0~10 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=f91a802798fea96f8296cdeed656221b1bdcf401;p=mobile-ledger.git fix duplicate first date delimiter when the latest date is in the past --- diff --git a/app/src/main/java/net/ktnx/mobileledger/async/TransactionAccumulator.java b/app/src/main/java/net/ktnx/mobileledger/async/TransactionAccumulator.java index b8c8e696..a3358e08 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/TransactionAccumulator.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/TransactionAccumulator.java @@ -42,7 +42,6 @@ public class TransactionAccumulator { if (null == latestDate) { list.add(new TransactionListItem()); latestDate = date; - list.add(new TransactionListItem(date, SimpleDate.today().month != date.month)); } earliestDate = date;