diff --git a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java index 8f91f666..e4a5dc30 100644 --- a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java +++ b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java @@ -211,7 +211,12 @@ public class ViewerContainerFragment extends Fragment { .setListener(new LacertaApplyTagDialog.LacertaApplyTagDialogListener() { @Override public void onDialogPositiveClick(ArrayList appliedTags) { - // 適用 + lacertaLibrary.applyTagListToDocument(documentId, appliedTags).thenAccept(aVoid -> { + getActivity().runOnUiThread(() -> { + Toast.makeText(getContext(), "タグを適用しました", Toast.LENGTH_SHORT).show(); + lacertaApplyTagDialog.dismiss(); + }); + }); } @Override