From: Damyan Ivanov Date: Fri, 21 Dec 2018 20:28:53 +0000 (+0000) Subject: save a method call X-Git-Tag: v0.3~177 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=2f91ed329f624355043f7c3b6c75a24bb1af07a6;p=mobile-ledger.git save a method call --- diff --git a/app/src/main/java/net/ktnx/mobileledger/TransactionListActivity.java b/app/src/main/java/net/ktnx/mobileledger/TransactionListActivity.java index 77d2d671..2ccb286c 100644 --- a/app/src/main/java/net/ktnx/mobileledger/TransactionListActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/TransactionListActivity.java @@ -70,7 +70,7 @@ public class TransactionListActivity extends AppCompatActivity { tvLastUpdate = findViewById(R.id.transactions_last_update); updateLastUpdateText(); model = ViewModelProviders.of(this).get(TransactionListViewModel.class); - List transactions = model.getTransactions(getApplicationContext()); + List transactions = model.getTransactions(this); modelAdapter = new TransactionListAdapter(transactions); RecyclerView root = findViewById(R.id.transaction_root);