mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
修正
This commit is contained in:
parent
3715627c07
commit
fa4f074871
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user