]> git.ktnx.net Git - mobile-ledger.git/commitdiff
fix method chain
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 18 Mar 2019 09:31:01 +0000 (11:31 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 25 Mar 2019 06:17:36 +0000 (06:17 +0000)
app/src/main/java/net/ktnx/mobileledger/model/MobileLedgerProfile.java

index 08a26f9d7c3b79b1358fd7114031578c71a2dbc1..4be38d4aed442de5d3939dc22803fbf995eefbbd 100644 (file)
@@ -304,7 +304,7 @@ public final class MobileLedgerProfile {
     @Nullable
     public LedgerAccount tryLoadAccount(String acct_name) {
         SQLiteDatabase db = MLDB.getReadableDatabase();
-        return loadAccount(acct_name);
+        return tryLoadAccount(db, acct_name);
     }
     @NonNull
     public LedgerAccount loadAccount(SQLiteDatabase db, String accName) {