]> git.ktnx.net Git - mobile-ledger.git/commitdiff
TransactionListViewModel is static
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 5 Jan 2019 08:26:37 +0000 (08:26 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 5 Jan 2019 08:26:37 +0000 (08:26 +0000)
app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java

index 7f4246cf6e892b57cc2c29bc48a44b10013e4686..f0a7e0e6f0152b3f2c2291b4dd10bda8d79959ac 100644 (file)
@@ -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) {