From fa4f074871233dec9162c0a306354965caa23556 Mon Sep 17 00:00:00 2001 From: r-ca Date: Mon, 29 Jan 2024 00:52:44 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nem/lacerta/component/common/LacertaApplyTagDialog.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 39d9cf13..40ad1a24 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 @@ -160,18 +160,20 @@ public class LacertaApplyTagDialog extends DialogFragment { } private CompletableFuture setAppliedTagList(String documentId) { - return CompletableFuture.runAsync(() -> { + return CompletableFuture.supplyAsync(() -> { lacertaLibrary.getAppliedTagList(documentId).thenAccept(documentTags -> { this.appliedTags = documentTags; }); + return null; }); } private CompletableFuture setRegisteredTagList() { - return CompletableFuture.runAsync(() -> { + return CompletableFuture.supplyAsync(() -> { lacertaLibrary.getTagList().thenAccept(documentTags -> { this.registeredTags = documentTags; }); + return null; }); }