From a4ab99925eefb09f23745bae8bdeb29f76aa6bc2 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 5 Jan 2019 08:26:37 +0000 Subject: [PATCH] TransactionListViewModel is static --- .../net/ktnx/mobileledger/async/RetrieveTransactionsTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7f4246cf..f0a7e0e6 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java @@ -317,7 +317,7 @@ public class RetrieveTransactionsTask extends if (success && !isCancelled()) { Log.d("db", "Updating transaction value stamp"); MLDB.set_option_value(MLDB.OPT_TRANSACTION_LIST_STAMP, new Date().getTime()); - ((TransactionListViewModel)ctx.currentFragment.model).scheduleTransactionListReload(ctx); + TransactionListViewModel.scheduleTransactionListReload(ctx); } } catch (MalformedURLException e) { -- 2.39.5