From: Damyan Ivanov Date: Mon, 18 Mar 2019 09:31:01 +0000 (+0200) Subject: fix method chain X-Git-Tag: v0.8.1~23 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=7a7e5a8003d62bcef2aafced877c35ff0043f21b;p=mobile-ledger.git fix method chain --- diff --git a/app/src/main/java/net/ktnx/mobileledger/model/MobileLedgerProfile.java b/app/src/main/java/net/ktnx/mobileledger/model/MobileLedgerProfile.java index 08a26f9d..4be38d4a 100644 --- a/app/src/main/java/net/ktnx/mobileledger/model/MobileLedgerProfile.java +++ b/app/src/main/java/net/ktnx/mobileledger/model/MobileLedgerProfile.java @@ -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) {