/*
- * 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
Misc.onMainThread(callback);
});
}
- public void duplicateTemplateWitAccounts(@NonNull Long id, @Nullable
+ public void duplicateTemplateWithAccounts(@NonNull Long id, @Nullable
AsyncResultCallback<TemplateWithAccounts> callback) {
BaseDAO.runAsync(() -> {
TemplateWithAccounts src = getTemplateWithAccountsSync(id);
/*
- * 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
public void onDuplicateTemplate(long id) {
DB.get()
.getTemplateDAO()
- .duplicateTemplateWitAccounts(id, null);
+ .duplicateTemplateWithAccounts(id, null);
}
@Override
public void onEditTemplate(Long id) {