]> git.ktnx.net Git - mobile-ledger.git/commitdiff
save a method call
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 21 Dec 2018 20:28:53 +0000 (20:28 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 21 Dec 2018 20:28:53 +0000 (20:28 +0000)
app/src/main/java/net/ktnx/mobileledger/TransactionListActivity.java

index 77d2d671bd9c1a8dd9bb390eee4c0dc1f25b8076..2ccb286c1e78a50285c87fc139f16f027292e4fe 100644 (file)
@@ -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<LedgerTransaction> transactions = model.getTransactions(getApplicationContext());
+        List<LedgerTransaction> transactions = model.getTransactions(this);
         modelAdapter = new TransactionListAdapter(transactions);
 
         RecyclerView root = findViewById(R.id.transaction_root);