]> git.ktnx.net Git - mobile-ledger.git/commitdiff
load transaction list from DB upon activity start
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 22 Dec 2018 08:02:25 +0000 (08:02 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 22 Dec 2018 08:02:25 +0000 (08:02 +0000)
app/src/main/java/net/ktnx/mobileledger/TransactionListActivity.java

index 7dff1a11c67b00131a3f28c37aeace000c604c7a..6a9c24d9a5dbbc78bc0be5f153922514026c7da1 100644 (file)
@@ -97,6 +97,9 @@ public class TransactionListActivity extends AppCompatActivity {
         if (last_update == 0) {
             update_transactions();
         }
+        else {
+            model.reloadTransactions(this);
+        }
     }
     private void setupActionBar() {
         ActionBar actionBar = getSupportActionBar();