From 155258526411c608c27476f02fa095d67dc849c2 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Mon, 4 Apr 2022 19:00:27 +0300 Subject: [PATCH] typo in method name --- .../java/net/ktnx/mobileledger/dao/TemplateHeaderDAO.java | 4 ++-- .../net/ktnx/mobileledger/ui/templates/TemplatesActivity.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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) { -- 2.39.5