diff --git a/component/common/src/main/java/one/nem/lacerta/component/common/LacertaApplyTagDialog.java b/component/common/src/main/java/one/nem/lacerta/component/common/LacertaApplyTagDialog.java index 7047837b..a8261f8e 100644 --- a/component/common/src/main/java/one/nem/lacerta/component/common/LacertaApplyTagDialog.java +++ b/component/common/src/main/java/one/nem/lacerta/component/common/LacertaApplyTagDialog.java @@ -164,21 +164,21 @@ public class LacertaApplyTagDialog extends DialogFragment { }); } - private CompletableFuture> setAppliedTagList(String documentId) { + private CompletableFuture setAppliedTagList(String documentId) { return CompletableFuture.supplyAsync(() -> { lacertaLibrary.getAppliedTagList(documentId).thenAccept(documentTags -> { this.appliedTags = documentTags; }); - return this.appliedTags; + return null; }); } - private CompletableFuture> setRegisteredTagList() { + private CompletableFuture setRegisteredTagList() { return CompletableFuture.supplyAsync(() -> { lacertaLibrary.getTagList().thenAccept(documentTags -> { this.registeredTags = documentTags; }); - return this.registeredTags; + return null; }); }