This commit is contained in:
r-ca 2024-01-29 01:03:14 +09:00
parent a13f6e28ec
commit efdf9c1fea
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

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