From: Damyan Ivanov Date: Fri, 7 Dec 2018 05:42:34 +0000 (+0000) Subject: automativ DB revision application during startup X-Git-Tag: v0.3~309 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=050409daee8a5a9f3448e6ce30efb08a8c960d78;p=mobile-ledger.git automativ DB revision application during startup --- diff --git a/app/src/main/java/net/ktnx/mobileledger/AccountSummary.java b/app/src/main/java/net/ktnx/mobileledger/AccountSummary.java index bd73cd07..a53b2eac 100644 --- a/app/src/main/java/net/ktnx/mobileledger/AccountSummary.java +++ b/app/src/main/java/net/ktnx/mobileledger/AccountSummary.java @@ -123,6 +123,8 @@ public class AccountSummary extends AppCompatActivity { } MobileLedgerDB.initDB(); + MobileLedgerDB.applyRevisions(getResources(), getPackageName()); + account_list_last_updated = MobileLedgerDB.get_option_value("last_refresh", (long) 0); }