]> git.ktnx.net Git - mobile-ledger.git/commitdiff
fix duplicate first date delimiter when the latest date is in the past
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 19 Sep 2020 09:13:20 +0000 (12:13 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 19 Sep 2020 09:59:06 +0000 (09:59 +0000)
app/src/main/java/net/ktnx/mobileledger/async/TransactionAccumulator.java

index b8c8e6966dca39f92844fc277bec770294699d84..a3358e085cf1c75942ee0942b54efcd1f79de523 100644 (file)
@@ -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;