From: Damyan Ivanov Date: Mon, 4 Apr 2022 16:00:27 +0000 (+0300) Subject: typo in method name X-Git-Tag: v0.21.2~4 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=155258526411c608c27476f02fa095d67dc849c2;p=mobile-ledger.git typo in method name --- diff --git a/app/src/main/java/net/ktnx/mobileledger/dao/TemplateHeaderDAO.java b/app/src/main/java/net/ktnx/mobileledger/dao/TemplateHeaderDAO.java index 24e751c8..67dcef8d 100644 --- a/app/src/main/java/net/ktnx/mobileledger/dao/TemplateHeaderDAO.java +++ b/app/src/main/java/net/ktnx/mobileledger/dao/TemplateHeaderDAO.java @@ -1,5 +1,5 @@ /* - * Copyright © 2021 Damyan Ivanov. + * Copyright © 2022 Damyan Ivanov. * This file is part of MoLe. * MoLe is free software: you can distribute it and/or modify it * under the term of the GNU General Public License as published by @@ -137,7 +137,7 @@ public abstract class TemplateHeaderDAO { Misc.onMainThread(callback); }); } - public void duplicateTemplateWitAccounts(@NonNull Long id, @Nullable + public void duplicateTemplateWithAccounts(@NonNull Long id, @Nullable AsyncResultCallback callback) { BaseDAO.runAsync(() -> { TemplateWithAccounts src = getTemplateWithAccountsSync(id); diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplatesActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplatesActivity.java index ed652879..3f9535ce 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplatesActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplatesActivity.java @@ -1,5 +1,5 @@ /* - * Copyright © 2021 Damyan Ivanov. + * Copyright © 2022 Damyan Ivanov. * This file is part of MoLe. * MoLe is free software: you can distribute it and/or modify it * under the term of the GNU General Public License as published by @@ -119,7 +119,7 @@ public class TemplatesActivity extends CrashReportingActivity public void onDuplicateTemplate(long id) { DB.get() .getTemplateDAO() - .duplicateTemplateWitAccounts(id, null); + .duplicateTemplateWithAccounts(id, null); } @Override public void onEditTemplate(Long id) {