]> git.ktnx.net Git - mobile-ledger.git/commitdiff
profile: copy constructor missed two fields
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 10 Jul 2020 15:29:14 +0000 (18:29 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 10 Jul 2020 15:29:14 +0000 (18:29 +0300)
app/src/main/java/net/ktnx/mobileledger/model/MobileLedgerProfile.java

index 21d658656632292d2e8d4aeee54e9709cb03bd88..2a603d7d2958e8933e66d8512da921565b485c0e 100644 (file)
@@ -83,6 +83,8 @@ public final class MobileLedgerProfile {
         futureDates = origin.futureDates;
         apiVersion = origin.apiVersion;
         defaultCommodity = origin.defaultCommodity;
+        firstTransactionDate = origin.firstTransactionDate;
+        lastTransactionDate = origin.lastTransactionDate;
     }
     // loads all profiles into Data.profiles
     // returns the profile with the given UUID