From 4ee225877f078570881e4c0f5c2e1c4c99b52dda Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Thu, 7 Mar 2019 05:52:31 +0200 Subject: [PATCH] set last profile update date in JSON retrieval code --- .../net/ktnx/mobileledger/async/RetrieveTransactionsTask.java | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.39.5