This commit is contained in:
r-ca 2024-01-29 00:52:44 +09:00
parent 3715627c07
commit fa4f074871
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -160,18 +160,20 @@ public class LacertaApplyTagDialog extends DialogFragment {
}
private CompletableFuture<Void> setAppliedTagList(String documentId) {
return CompletableFuture.runAsync(() -> {
return CompletableFuture.supplyAsync(() -> {
lacertaLibrary.getAppliedTagList(documentId).thenAccept(documentTags -> {
this.appliedTags = documentTags;
});
return null;
});
}
private CompletableFuture<Void> setRegisteredTagList() {
return CompletableFuture.runAsync(() -> {
return CompletableFuture.supplyAsync(() -> {
lacertaLibrary.getTagList().thenAccept(documentTags -> {
this.registeredTags = documentTags;
});
return null;
});
}