From: Damyan Ivanov Date: Thu, 7 Mar 2019 03:52:31 +0000 (+0200) Subject: set last profile update date in JSON retrieval code X-Git-Tag: v0.8~35 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=4ee225877f078570881e4c0f5c2e1c4c99b52dda;p=mobile-ledger.git set last profile update date in JSON retrieval code --- 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 35277d67..ab0ab271 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java @@ -430,6 +430,7 @@ public class RetrieveTransactionsTask progress.setTotal(progress.getProgress()); publishProgress(progress); db.setTransactionSuccessful(); + profile.setLastUpdateStamp(); return true; } } @@ -445,6 +446,7 @@ public class RetrieveTransactionsTask profile.deleteNotPresentTransactions(db); db.setTransactionSuccessful(); + profile.setLastUpdateStamp(); } finally { db.endTransaction();