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 08a26f9..4be38d4 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) {